Inheritance diagram for osgSim::ColorRange:

Public Member Functions | |
| ColorRange (float min, float max) | |
| ColorRange (float min, float max, const std::vector< osg::Vec4 > &colors) | |
| void | setColors (const std::vector< osg::Vec4 > &colors) |
| osg::Vec4 | getColor (float scalar) const |
|
||||||||||||
|
Constructor for a ColorRange with a default list of colors set to Red-Yellow-Green-Blue-Cyan
|
|
||||||||||||||||
|
Constructor for a ColorRange
|
|
|
Get the color for a given scalar value. Reimplemented from osgSim::ScalarsToColors. |
|
|
Set the range of colors. |
1.4.2