|
Simox
2.3.74.0
|
Data Structures | |
| struct | ColorKey |
Public Types | |
| enum | type { eIntensity, eHot, eRed, eGreen, eBlue, eHotAlpha, eRedAlpha, eBlueAlpha, eGreenAlpha, eGray } |
Public Member Functions | |
| ColorMap (type t) | |
| virtual | ~ColorMap () |
| VirtualRobot::VisualizationFactory::Color | getColor (float position) const |
| bool | getColor (float position, VirtualRobot::VisualizationFactory::Color &storeColor) const |
Static Public Member Functions | |
| static ColorMap | customColorMap (std::vector< VirtualRobot::VisualizationFactory::Color > colors) |
| Custom color maps can be created with this method. More... | |
Protected Member Functions | |
| ColorMap () | |
| bool | addColorKey (const unsigned char R, const unsigned char G, const unsigned char B, const unsigned char A, const float Position) |
| void | create (type t) |
| void | sort () |
Static Protected Member Functions | |
| static bool | CompareColorKey (const ColorKey &lhs, const ColorKey &rhs) |
Protected Attributes | |
| std::vector< ColorKey > | colorKeys |
| std::vector< float > | intervals |
| type | colorMapType |
| VirtualRobot::ColorMap::ColorMap | ( | type | t | ) |
|
virtualdefault |
|
protecteddefault |
|
protected |
|
staticprotected |
|
protected |
|
static |
Custom color maps can be created with this method.
| VirtualRobot::VisualizationFactory::Color VirtualRobot::ColorMap::getColor | ( | float | position | ) | const |
Returns color that is equivalent to position.
| position | A value between 0 and 1. |
| bool VirtualRobot::ColorMap::getColor | ( | float | position, |
| VirtualRobot::VisualizationFactory::Color & | storeColor | ||
| ) | const |
|
protected |
|
protected |
|
protected |
|
protected |