Class describing RGB colors in three different ways. More...
#include "RGBColor.hpp"
Inheritance diagram for RGBColor:Public Types | |
| typedef Array< double, 3 > | ArrayD3 |
| typedef Array< uint8_t, 3 > | ArrayB3 |
Public Member Functions | |
| RGBColor (uint8_t r, uint8_t g, uint8_t b) | |
| RGBColor (const double &r, const double &g, const double &b) | |
| void | setColor (const ArrayB3 &c) |
| void | setColor (uint8_t r, uint8_t g, uint8_t b) |
| void | setNormalizedColor (const ArrayD3 &c) |
| void | setNormalizedColor (const double &r, const double &g, const double &b) |
| void | setHexColor (const opals::String &c) |
| uint8_t | operator[] (unsigned idx) const |
| ArrayB3 | getColor () const |
| ArrayD3 | getNormalizedColor () const |
| opals::String | getHexColor () const |
Static Public Member Functions | |
| static const char * | help (bool) |
| static const char * | syntax () |
| static bool | exportsPythonType () |
Static Public Member Functions inherited from CustomOptionType< RGBColor > | |
| static const char * | _help (bool forDoxygen) |
| get general help on this type | |
| static const char * | _syntax () |
| get the syntax used for parsing this type | |
| static bool | _exportsPythonType () |
| returns true if this type is exposed to Python as a custom type, false otherwise (if it is represented as Python-string) | |
Additional Inherited Members | |
Protected Member Functions inherited from CustomOptionType< RGBColor > | |
| ~CustomOptionType () | |
| protected, must be derived from | |
Class describing RGB colors in three different ways.