OSG
3.4.0
|
#include <ScalarBar.h>
Public Member Functions | |
TextProperties () | |
Public Attributes | |
std::string | _fontFile |
std::pair< int, int > | _fontResolution |
float | _characterSize |
osg::Vec4 | _color |
TextProperties allows users to specify a number of properties for the text used to display the labels & title on the ScalarBar. Specifying 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.
Definition at line 70 of file ScalarBar.h.
|
inline |
Definition at line 77 of file ScalarBar.h.
float osgSim::ScalarBar::TextProperties::_characterSize |
Definition at line 74 of file ScalarBar.h.
osg::Vec4 osgSim::ScalarBar::TextProperties::_color |
Definition at line 75 of file ScalarBar.h.
std::string osgSim::ScalarBar::TextProperties::_fontFile |
Definition at line 72 of file ScalarBar.h.
std::pair<int,int> osgSim::ScalarBar::TextProperties::_fontResolution |
Definition at line 73 of file ScalarBar.h.