Overview | All Modules | Tutorial | User's Guide | Programming Guide |
Previous | COVISE Online Documentation | Next |
this class describes an abstract bas for Button geometries new button shapes can be created by deriving from this class More...
#include <coButtonGeometry.h>
Public Types | |
enum | ActiveGeometry { NORMAL = 0 , PRESSED , HIGHLIGHT , HIGHLIGHT_PRESSED , DISABLED } |
Public Member Functions | |
coButtonGeometry (const std::string &texture) | |
virtual | ~coButtonGeometry () |
virtual float | getWidth () const |
get width of this geometry More... | |
virtual float | getHeight () const |
get height of this geometry More... | |
virtual void | switchGeometry (ActiveGeometry active) |
virtual const std::string & | getTextureName () const |
virtual void | createGeometry () |
virtual void | resizeGeometry () |
virtual const char * | getClassName () const |
get the Element's classname More... | |
virtual bool | isOfClassName (const char *) const |
check if the Element or any ancestor is this classname More... | |
virtual vruiTransformNode * | getDCS () |
virtual vruiButtonProvider * | getButtonProvider () const |
Protected Attributes | |
std::string | texture |
name of the texture file More... | |
vruiButtonProvider * | buttonGeometryProvider |
this class describes an abstract bas for Button geometries new button shapes can be created by deriving from this class
vrui::coButtonGeometry::coButtonGeometry | ( | const std::string & | texture | ) |
|
virtual |
|
virtual |
Reimplemented in vrui::coToggleButtonGeometry.
|
inlinevirtual |
|
virtual |
get the Element's classname
Reimplemented in vrui::coDefaultButtonGeometry, vrui::coFlatButtonGeometry, vrui::coRectButtonGeometry, vrui::coSquareButtonGeometry, vrui::coTextButtonGeometry, and vrui::coToggleButtonGeometry.
|
virtual |
|
virtual |
get height of this geometry
Switch the shown geometry
Reimplemented in vrui::coToggleButtonGeometry.
|
inlinevirtual |
|
virtual |
get width of this geometry
Reimplemented in vrui::coToggleButtonGeometry.
|
virtual |
check if the Element or any ancestor is this classname
Reimplemented in vrui::coDefaultButtonGeometry, vrui::coFlatButtonGeometry, vrui::coRectButtonGeometry, vrui::coSquareButtonGeometry, vrui::coTextButtonGeometry, and vrui::coToggleButtonGeometry.
|
virtual |
Reimplemented in vrui::coToggleButtonGeometry.
|
virtual |
|
mutableprotected |
|
protected |
name of the texture file
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
|