class OSGSIM_EXPORT osgSim::ScalarsToColors

ScalarsToColors defines the interface to map a scalar value to a color, and provides a default implementation of the mapping functionaltity, with colors ranging from black to white across the min - max scalar range

Inheritance:


Public Methods

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


Documentation

ScalarsToColors defines the interface to map a scalar value to a color, and provides a default implementation of the mapping functionaltity, with colors ranging from black to white across the min - max scalar range
o ScalarsToColors(float scalarMin, float scalarMax)

ovirtual ~ScalarsToColors()

ovirtual osg::Vec4 getColor(float scalar) const
Get the color for a given scalar value.

ofloat getMin() const
Get the minimum scalar value.

ofloat getMax() const
Get the maximum scalar value.


Direct child classes:
ColorRange

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.