Overview | All Modules | Tutorial | User's Guide | Programming Guide |
Previous | COVISE Online Documentation | Next |
Label element. More...
#include <OSGVruiLabel.h>
Public Member Functions | |
OSGVruiLabel (coLabel *label) | |
Constructor. More... | |
virtual | ~OSGVruiLabel () |
Destructor. More... | |
virtual void | createGeometry () |
virtual void | resizeGeometry () |
virtual void | update () |
virtual float | getWidth () const |
virtual float | getHeight () const |
virtual float | getDepth () const |
virtual void | setHighlighted (bool highlighted) |
Public Member Functions inherited from vrui::OSGVruiUIElement | |
OSGVruiUIElement (coUIElement *element) | |
virtual | ~OSGVruiUIElement () |
vruiTransformNode * | getDCS () |
Public Member Functions inherited from vrui::vruiUIElementProvider | |
vruiUIElementProvider (coUIElement *element) | |
virtual | ~vruiUIElementProvider () |
virtual void | createGeometry ()=0 |
virtual vruiTransformNode * | getDCS ()=0 |
virtual void | resizeGeometry ()=0 |
virtual void | setEnabled (bool) |
virtual void | setHighlighted (bool) |
virtual void | update () |
virtual float | getWidth () const |
virtual float | getHeight () const |
virtual float | getDepth () const |
Protected Member Functions | |
void | makeText () |
Private method to generate text string and attach it to a node. More... | |
Protected Attributes | |
coLabel * | label |
osg::Vec4 | textColor |
components of text color (RGBA) More... | |
osg::Vec4 | textColorHL |
components of text color when highlighted (RGBA) More... | |
osg::ref_ptr< osg::StateSet > | backgroundTextureState |
osg::ref_ptr< osgText::Text > | labelText |
label text string in OSG format More... | |
Protected Attributes inherited from vrui::OSGVruiUIElement | |
OSGVruiTransformNode * | myDCS |
main DCS of this UI Element More... | |
Protected Attributes inherited from vrui::vruiUIElementProvider | |
coUIElement * | element |
Label element.
A label consists of a text string and a background texture.
vrui::OSGVruiLabel::OSGVruiLabel | ( | coLabel * | label | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Implements vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
protected |
Private method to generate text string and attach it to a node.
|
virtual |
Implements vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
virtual |
Reimplemented from vrui::vruiUIElementProvider.
|
protected |
|
protected |
|
protected |
label text string in OSG format
|
protected |
components of text color (RGBA)
|
protected |
components of text color when highlighted (RGBA)
Geostate of background texture
Previous | Next |
Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner |
Copyright © 1993-2009 HLRS, 2004-2009 RRZK, 2005-2009 Visenso |
COVISE Version 6.5 Academic
|