Public Member Functions | |
ScalarsToColors (float scalarMin, float scalarMax) | |
virtual | ~ScalarsToColors () |
virtual osg::Vec4 | getColor (float scalar) const |
Get the color for a given scalar value. | |
float | getMin () const |
Get the minimum scalar value. | |
float | getMax () const |
Get the maximum scalar value. |
osgSim::ScalarsToColors::ScalarsToColors | ( | float | scalarMin, | |
float | scalarMax | |||
) |
virtual osgSim::ScalarsToColors::~ScalarsToColors | ( | ) | [inline, virtual] |
virtual osg::Vec4 osgSim::ScalarsToColors::getColor | ( | float | scalar | ) | const [virtual] |
float osgSim::ScalarsToColors::getMin | ( | ) | const |
Get the minimum scalar value.
float osgSim::ScalarsToColors::getMax | ( | ) | const |
Get the maximum scalar value.