20 #include <osgSim/ColorRange> 21 #include <osgSim/ScalarsToColors> 22 #include <osg/ref_ptr> 119 void setMinScalar(
agx::Real minScalar );
127 void setMaxScalar(
agx::Real maxScalar );
162 osg::ref_ptr < osgSim::ColorRange > getOsgColorRange()
const;
166 void initColorRange(
const std::vector<osg::Vec4>& osgColors );
167 void updateColorRange();
168 void correctScalarInterval();
ColorRangePreset
Enum representation of predefined color ranges than can be set in the class.
A class holding 4 dimensional vectors and providing basic arithmetic.
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
osg::ref_ptr< osgSim::ColorRange > m_colorRange
The agxOSG namespace provides functionality for visualizing AGX simulations with OpenSceneGraph.
Class that represents a linear scalar color map that converts a scalar interval to a specified color ...