|
Hedgehog
3.1.0
A library to generate hybrid pipeline workflow systems
|
Blue to Red color range. More...
#include "blue_to_red_color.h"


Public Member Functions | |
| BlueToRedColor ()=default | |
| Default constructor. | |
| ~BlueToRedColor () override=default | |
| Default destructor. | |
| std::string | getRGBFromRange (std::chrono::nanoseconds const &value, std::chrono::nanoseconds const &min, std::chrono::nanoseconds const &range) override |
| Return a color from only blue to only red, blue being the lowest value, red the highest value in range. | |
Public Member Functions inherited from hh::ColorPicker | |
| ColorPicker ()=default | |
| Default constructor. | |
| virtual | ~ColorPicker ()=default |
| Default destructor. | |
| virtual std::string | getRGBFromRange (std::chrono::nanoseconds const &value, std::chrono::nanoseconds const &min, std::chrono::nanoseconds const &range)=0 |
| Create a RGB value in the form of a string from a value and its range. | |
Blue to Red color range.
Return a color from only blue to only red, blue being the lowest value, red the highest value in range
Definition at line 34 of file blue_to_red_color.h.
|
default |
Default constructor.
|
overridedefault |
Default destructor.
|
inlineoverridevirtual |
Return a color from only blue to only red, blue being the lowest value, red the highest value in range.
| value | Value to get the color from |
| min | Minimum value of the range |
| range | Range of values |
Implements hh::ColorPicker.
Definition at line 46 of file blue_to_red_color.h.