OMToolkit 1.0 The polygonal mesh processing tool.

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

  min | Minimum value showed in legend
  max | Maximum value showed in legend
  windowHeight | Height of HUD window
  windowWidth | Height 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

  parent | OSG root group

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

- trunk/include/OMToolkitOSG/OMLegendGeo.h
- trunk/src/toolkit/Toolkit/OMLegendGeo.cpp