OMToolkit
1.0
The polygonal mesh processing tool.
|
#include <OMLegendGeo.h>
Public Member Functions | |
OMLegendGeometry (double min, double max, int windowHeight, int windowWidth) | |
void | addToGroup (osg::ref_ptr< osg::Group > parent) |
Class inheriting osg geometry, in constructor, we must specify window size and minimum and maximum values for legend
osg::OMLegendGeometry::OMLegendGeometry | ( | double | min, |
double | max, | ||
int | windowHeight, | ||
int | windowWidth | ||
) |
Constructor
min | Minimum value showed in legend |
max | Maximum value showed in legend |
windowHeight | Height of HUD window |
windowWidth | Height of HUD window |
void osg::OMLegendGeometry::addToGroup | ( | osg::ref_ptr< osg::Group > | parent | ) |
Function registers this geometry into osg Group (with all the setup matrices)
parent | OSG root group |