Inheritance diagram for Eaagles::Basic::LcHsva:


Public Member Functions | |
| LcHsva (const LCreal h, const LCreal s, const LCreal v, const LCreal a) | |
| LcHsva () | |
| void | getHSVA (osg::Vec4 &hsva) const |
| bool | setHSVA (const osg::Vec4 &vec) |
| bool | colorInterpolate (const LCreal value, const LCreal minValue, const LCreal maxValue, const LcHsva &minColor, const LcHsva &maxColor) |
Defines a color by Hue, Saturation, Value and Alpha
Form name: hsva
Slots:
1. hue (Number) Set the hue component (0.0 to 360.0)
2. saturation (Number) Set the saturation component (0.0 to 1.0)
3. value (Number) Set the value component (0.0 to 1.0)
4. alpha (Number) Set the alpha component (0.0 to 1.0)
Note: The operators osg::Vec3*() and osg::Vec4*(), (inherited from LcColor)
return a const pointer to the RGBA color vector and not the
HSVA color vector.
Special constuctor that initializes the object to h, s, v and a.
| Eaagles::Basic::LcHsva::LcHsva | ( | ) |
| void Eaagles::Basic::LcHsva::getHSVA | ( | osg::Vec4 & | hsva | ) | const [inline] |
| bool Eaagles::Basic::LcHsva::setHSVA | ( | const osg::Vec4 & | vec | ) | [inline] |
Reimplemented from Eaagles::Basic::LcHsv.
| bool Eaagles::Basic::LcHsva::colorInterpolate | ( | const LCreal | value, | |
| const LCreal | minValue, | |||
| const LCreal | maxValue, | |||
| const LcHsva & | minColor, | |||
| const LcHsva & | maxColor | |||
| ) |
1.5.0