Overview | All Modules | Tutorial | User's Guide | Programming Guide
Previous

COVISE Online Documentation

Next

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vrui::OSGVruiValuePoti Class Reference

#include <OSGVruiValuePoti.h>

Inheritance diagram for vrui::OSGVruiValuePoti:
vrui::OSGVruiUIElement vrui::vruiUIElementProvider

Public Member Functions

 OSGVruiValuePoti (coValuePoti *poti)
 
virtual ~OSGVruiValuePoti ()
 
void createGeometry ()
 
void resizeGeometry ()
 
void update ()
 
- Public Member Functions inherited from vrui::OSGVruiUIElement
 OSGVruiUIElement (coUIElement *element)
 
virtual ~OSGVruiUIElement ()
 
vruiTransformNodegetDCS ()
 
- Public Member Functions inherited from vrui::vruiUIElementProvider
 vruiUIElementProvider (coUIElement *element)
 
virtual ~vruiUIElementProvider ()
 
virtual void createGeometry ()=0
 
virtual vruiTransformNodegetDCS ()=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 initText ()
 Initialize text parameters. More...
 
osg::ref_ptr< osg::Geode > createPanelNode (const std::string &)
 Create a node for the poti background texture. More...
 

Protected Attributes

coValuePotipoti
 button orientation More...
 
osg::ref_ptr< osg::MatrixTransform > potiTransform
 description text orientation More...
 
osg::ref_ptr< osg::MatrixTransform > textTransform
 
osg::ref_ptr< osgText::Text > text
 
osg::ref_ptr< osg::Geode > textNode
 Representation of value display text. More...
 
osg::ref_ptr< osg::Switch > stateSwitch
 Switch node to switch between enabled and disabled geometry. More...
 
- Protected Attributes inherited from vrui::OSGVruiUIElement
OSGVruiTransformNodemyDCS
 main DCS of this UI Element More...
 
- Protected Attributes inherited from vrui::vruiUIElementProvider
coUIElementelement
 

Constructor & Destructor Documentation

◆ OSGVruiValuePoti()

vrui::OSGVruiValuePoti::OSGVruiValuePoti ( coValuePoti poti)

◆ ~OSGVruiValuePoti()

vrui::OSGVruiValuePoti::~OSGVruiValuePoti ( )
virtual

Member Function Documentation

◆ createGeometry()

void vrui::OSGVruiValuePoti::createGeometry ( )
virtual

◆ createPanelNode()

ref_ptr< Geode > vrui::OSGVruiValuePoti::createPanelNode ( const std::string &  )
protected

Create a node for the poti background texture.

Parameters
textureNamebase name of texture file
Returns
scene graph node

◆ initText()

void vrui::OSGVruiValuePoti::initText ( )
protected

Initialize text parameters.

◆ resizeGeometry()

void vrui::OSGVruiValuePoti::resizeGeometry ( )
virtual

◆ update()

void vrui::OSGVruiValuePoti::update ( )
virtual

Reimplemented from vrui::vruiUIElementProvider.

Member Data Documentation

◆ poti

coValuePoti* vrui::OSGVruiValuePoti::poti
protected

button orientation

◆ potiTransform

osg::ref_ptr<osg::MatrixTransform> vrui::OSGVruiValuePoti::potiTransform
protected

description text orientation

◆ stateSwitch

osg::ref_ptr<osg::Switch> vrui::OSGVruiValuePoti::stateSwitch
protected

Switch node to switch between enabled and disabled geometry.

◆ text

osg::ref_ptr<osgText::Text> vrui::OSGVruiValuePoti::text
protected

◆ textNode

osg::ref_ptr<osg::Geode> vrui::OSGVruiValuePoti::textNode
protected

Representation of value display text.

◆ textTransform

osg::ref_ptr<osg::MatrixTransform> vrui::OSGVruiValuePoti::textTransform
protected

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

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