OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
osg::OMLegendGeometry Class Reference

#include <OMLegendGeo.h>

Inheritance diagram for osg::OMLegendGeometry:

Public Member Functions

 OMLegendGeometry (double min, double max, int windowHeight, int windowWidth)
 
void addToGroup (osg::ref_ptr< osg::Group > parent)
 

Detailed Description

Class inheriting osg geometry, in constructor, we must specify window size and minimum and maximum values for legend

Constructor & Destructor Documentation

osg::OMLegendGeometry::OMLegendGeometry ( double  min,
double  max,
int  windowHeight,
int  windowWidth 
)

Constructor

Parameters
minMinimum value showed in legend
maxMaximum value showed in legend
windowHeightHeight of HUD window
windowWidthHeight of HUD window

Member Function Documentation

void osg::OMLegendGeometry::addToGroup ( osg::ref_ptr< osg::Group >  parent)

Function registers this geometry into osg Group (with all the setup matrices)

Parameters
parentOSG root group

The documentation for this class was generated from the following files: