osgSim::ScalarBar::TextProperties Struct Reference

List of all members.

Public Member Functions

 TextProperties ()

Public Attributes

std::string _fontFile
std::pair< int, int > _fontResolution
float _characterSize
osg::Vec4 _color


Detailed Description

TextProperties allows users to specify a number of properties for the text used to display the labels & title on the ScalarBar. Specifiying a character size of 0 will cause the ScalarBar to estimate an appropriate size. Note that the attributes are public, and may be set directly.

Constructor & Destructor Documentation

osgSim::ScalarBar::TextProperties::TextProperties (  )  [inline]


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Sat Mar 20 12:34:06 2010 for openscenegraph by  doxygen 1.5.6