Inheritance diagram for Eaagles::Basic::LcCmy:


Public Types | |
| enum | { CYAN, MAGENTA, YELLOW } |
Public Member Functions | |
| LcCmy (const LCreal c, const LCreal m, const LCreal y) | |
| LcCmy () | |
| LCreal | cyan () const |
| LCreal | magenta () const |
| LCreal | yellow () const |
| void | getCMY (osg::Vec3 &cmy) const |
| virtual bool | setCyan (LcNumber *const msg) |
| virtual bool | setMagenta (LcNumber *const msg) |
| virtual bool | setYellow (LcNumber *const msg) |
Static Public Member Functions | |
| static void | cmy2rgb (osg::Vec4 &rgb, const osg::Vec3 &cmy) |
| static void | rgb2cmy (osg::Vec3 &cmy, const osg::Vec4 &rgb) |
Protected Attributes | |
| osg::Vec3 | cmy |
Defines a color by Cyan, Magenta, and Yellow.
Form name: cmy
Slots:
1. cyan (Number) Cyan component (0.0 to 1.0)
2. magenta (Number) Magenta component (0.0 to 1.0)
3. yellow (Number) Yellow 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
CMY color vector.
| anonymous enum |
Special constuctor that initializes the object to c, m,and y.
| Eaagles::Basic::LcCmy::LcCmy | ( | ) |
| LCreal Eaagles::Basic::LcCmy::cyan | ( | ) | const |
Data access routine. Returns the individual CMY components.
| LCreal Eaagles::Basic::LcCmy::magenta | ( | ) | const |
Data access routine. Returns the individual CMY components.
| LCreal Eaagles::Basic::LcCmy::yellow | ( | ) | const |
Data access routine. Returns the individual CMY components.
| void Eaagles::Basic::LcCmy::getCMY | ( | osg::Vec3 & | cmy | ) | const |
Returns the CMY components in a vector.
| bool Eaagles::Basic::LcCmy::setCyan | ( | LcNumber *const | msg | ) | [virtual] |
set the cyan value
| bool Eaagles::Basic::LcCmy::setMagenta | ( | LcNumber *const | msg | ) | [virtual] |
set the magenta value
| bool Eaagles::Basic::LcCmy::setYellow | ( | LcNumber *const | msg | ) | [virtual] |
set the yellow value
| void Eaagles::Basic::LcCmy::cmy2rgb | ( | osg::Vec4 & | rgb, | |
| const osg::Vec3 & | cmy | |||
| ) | [static] |
Static functions to convert CMY colors to RGB.
| void Eaagles::Basic::LcCmy::rgb2cmy | ( | osg::Vec3 & | cmy, | |
| const osg::Vec4 & | rgb | |||
| ) | [static] |
Static functions to convert RGB colors to CMY.
osg::Vec3 Eaagles::Basic::LcCmy::cmy [protected] |
1.5.0