|
Public Types |
| typedef Real32 | ValueType |
Public Member Functions |
| * | Color3 (void) |
| | Color3 (const Color3 &source) |
| | Color3 (ValueType red, ValueType green, ValueType blue) |
| *void | clear (void) |
| void | setValuesRGB (const ValueType red, const ValueType green, const ValueType blue) |
| void | setValuesHSV (const Real32 h, const Real32 s, const Real32 v) |
| void | setRandom (void) |
| void | setRGB (UInt32 rgbPack) |
| void | setValue (const Char8 *szString) |
| void | setValue (Char8 *szString) |
| *UInt32 | getRGB (void) const |
| void | getValuesRGB (ValueType &red, ValueType &green, ValueType &blue) const |
| ValueType * | getValuesRGB (void) |
| const ValueType * | getValuesRGB (void) const |
| void | getValuesHSV (Real32 &h, Real32 &s, Real32 &v) const |
| ValueType | red (void) const |
| ValueType | green (void) const |
| ValueType | blue (void) const |
| *Color3 | operator * (const ValueType val) |
| ValueType & | operator[] (const UInt32 uiIndex) |
| const ValueType & | operator[] (const UInt32 uiIndex) const |
| bool | equals (const Color3 &other, const ValueType tolerance) const |
| bool | operator== (const Color3 &other) const |
| bool | operator!= (const Color3 &other) const |
Static Public Member Functions |
| *static void | convertFromHSV (ValueType *rgbP, const Real32 h, const Real32 s, const Real32 v) |
| static void | convertToHSV (const ValueType *rgbP, Real32 &h, Real32 &s, Real32 &v) |
| static UInt32 | minPart (const ValueType *rgbP) |
| static UInt32 | maxPart (const ValueType *rgbP) |
Static Public Attributes |
| static const Color3 | Null |
Protected Attributes |
| ValueType | _rgb [3] |
Private Attributes |
| Real32 * | _val |