vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APHUD::HUDField Struct Reference

#include <HUDDisplay.h>

Public Attributes

osg::ref_ptr< osgText::Text > text
 
osg::ref_ptr< osg::Geometry > geometry
 
osg::Vec4f color
 
string name
 
string actual_string
 
int posX
 
int posY
 
bool animated
 
float actualValue
 
float maxValue
 
float minValue
 
osg::Vec4f colorMin
 
osg::Vec4f colorMax
 

Detailed Description

definition of a hud field

Member Data Documentation

string APHUD::HUDField::actual_string

the text which is shown

float APHUD::HUDField::actualValue

Value of the field

bool APHUD::HUDField::animated

denotes whether the field has animated gradient background

osg::Vec4f APHUD::HUDField::color

Color of the field background

osg::Vec4f APHUD::HUDField::colorMax

Color of gradient rectangle when the value is set to maximum

osg::Vec4f APHUD::HUDField::colorMin

Color of gradient rectangle when the value is set to minimal

osg::ref_ptr<osg::Geometry> APHUD::HUDField::geometry
float APHUD::HUDField::maxValue

Maximal allowed value of the field

float APHUD::HUDField::minValue

Minimal allowed value of the field

string APHUD::HUDField::name

name of the field (ised as ID)

int APHUD::HUDField::posX
int APHUD::HUDField::posY

position X and Y in the window

osg::ref_ptr<osgText::Text> APHUD::HUDField::text

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