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::OSGVruiSquareButtonGeometry Class Reference

this class implements a square, textured button More...

#include <OSGVruiSquareButtonGeometry.h>

Inheritance diagram for vrui::OSGVruiSquareButtonGeometry:
vrui::vruiButtonProvider

Public Member Functions

 OSGVruiSquareButtonGeometry (coSquareButtonGeometry *button)
 creates the button. More...
 
virtual ~OSGVruiSquareButtonGeometry ()
 Destructor. More...
 
virtual float getWidth () const
 
virtual float getHeight () const
 
virtual void switchGeometry (coButtonGeometry::ActiveGeometry active)
 
virtual void createGeometry ()
 
virtual void resizeGeometry ()
 
virtual vruiTransformNodegetDCS ()
 
- Public Member Functions inherited from vrui::vruiButtonProvider
 vruiButtonProvider (coButtonGeometry *element)
 
virtual ~vruiButtonProvider ()
 
virtual void switchGeometry (coButtonGeometry::ActiveGeometry active)=0
 
virtual void createGeometry ()=0
 
virtual void resizeGeometry ()=0
 
virtual float getWidth () const =0
 
virtual float getHeight () const =0
 
virtual void setRotation (float)
 
virtual vruiTransformNodegetDCS ()=0
 

Protected Member Functions

osg::ref_ptr< osg::Node > createGeode (const std::string &textureName, int style)
 < creates the base button polygon More...
 
void createSharedLists ()
 creates shared coordinate arrays More...
 

Protected Attributes

osg::ref_ptr< osg::Node > normalNode
 normal geometry More...
 
osg::ref_ptr< osg::Node > pressedNode
 pressed normal geometry More...
 
osg::ref_ptr< osg::Node > highlightNode
 highlighted geometry More...
 
osg::ref_ptr< osg::Node > pressedHighlightNode
 
osg::ref_ptr< osg::Node > disabledNode
 
osg::ref_ptr< osg::Switch > switchNode
 
coSquareButtonGeometrybutton
 
OSGVruiTransformNodemyDCS
 
- Protected Attributes inherited from vrui::vruiButtonProvider
coButtonGeometryelement
 

Detailed Description

this class implements a square, textured button

Constructor & Destructor Documentation

◆ OSGVruiSquareButtonGeometry()

vrui::OSGVruiSquareButtonGeometry::OSGVruiSquareButtonGeometry ( coSquareButtonGeometry button)

creates the button.

Parameters
nametexture files to load it is looking for textures "name".rgb, "name"-selected.rgb and"name"-check.rgb.

◆ ~OSGVruiSquareButtonGeometry()

vrui::OSGVruiSquareButtonGeometry::~OSGVruiSquareButtonGeometry ( )
virtual

Destructor.

Member Function Documentation

◆ createGeode()

ref_ptr< Node > vrui::OSGVruiSquareButtonGeometry::createGeode ( const std::string &  textureName,
int  style 
)
protected

< creates the base button polygon

◆ createGeometry()

void vrui::OSGVruiSquareButtonGeometry::createGeometry ( )
virtual

◆ createSharedLists()

void vrui::OSGVruiSquareButtonGeometry::createSharedLists ( )
protected

creates shared coordinate arrays

◆ getDCS()

vruiTransformNode * vrui::OSGVruiSquareButtonGeometry::getDCS ( )
virtual

◆ getHeight()

virtual float vrui::OSGVruiSquareButtonGeometry::getHeight ( ) const
inlinevirtual

◆ getWidth()

virtual float vrui::OSGVruiSquareButtonGeometry::getWidth ( ) const
inlinevirtual

◆ resizeGeometry()

void vrui::OSGVruiSquareButtonGeometry::resizeGeometry ( )
virtual

◆ switchGeometry()

void vrui::OSGVruiSquareButtonGeometry::switchGeometry ( coButtonGeometry::ActiveGeometry  active)
virtual

Member Data Documentation

◆ button

coSquareButtonGeometry* vrui::OSGVruiSquareButtonGeometry::button
protected

◆ disabledNode

osg::ref_ptr<osg::Node> vrui::OSGVruiSquareButtonGeometry::disabledNode
protected

◆ highlightNode

osg::ref_ptr<osg::Node> vrui::OSGVruiSquareButtonGeometry::highlightNode
protected

highlighted geometry

pressed highlighted geometry

◆ myDCS

OSGVruiTransformNode* vrui::OSGVruiSquareButtonGeometry::myDCS
protected

◆ normalNode

osg::ref_ptr<osg::Node> vrui::OSGVruiSquareButtonGeometry::normalNode
protected

normal geometry

◆ pressedHighlightNode

osg::ref_ptr<osg::Node> vrui::OSGVruiSquareButtonGeometry::pressedHighlightNode
protected

◆ pressedNode

osg::ref_ptr<osg::Node> vrui::OSGVruiSquareButtonGeometry::pressedNode
protected

pressed normal geometry

◆ switchNode

osg::ref_ptr<osg::Switch> vrui::OSGVruiSquareButtonGeometry::switchNode
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