A ScalarBar is an osg::Geode to render a colored bar representing a range of scalars.
A ScalarBar is an osg::Geode to render a colored bar representing a range of scalars. The scalar/color ranges are specified by an instance of ScalarsToColors. There are a number of configurable properties on the ScalarBar, such as the orientation, the number of labels to be displayed across the range, the number of distinct colors to use when rendering the bar, text details etc.In summary, the main configurables on the ScalarBar are:
-# The range of scalars represented by the bar, and the colors corresponding to this range - these are specified by the ScalarsToColors object. -# The number of colors used when rendering the bar geometry - this may be thought of as the bar 'density'. -# The number of text labels to be used when displaying the bar.
The other configurables should be self-explanatory.
Alphabetic index HTML hierarchy of classes or Java