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

COVISE Online Documentation

Next

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

#include <coTextButtonGeometry.h>

Inheritance diagram for vrui::coTextButtonGeometry:
vrui::coButtonGeometry

Public Member Functions

 coTextButtonGeometry (float width, float height, const std::string &name)
 
virtual ~coTextButtonGeometry ()
 
float getInnerWidth () const
 
float getInnerHeight () const
 
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...
 
void setColors (float r1, float g1, float b1, float a1, float r2, float g2, float b2, float a2)
 
- Public Member Functions inherited from vrui::coButtonGeometry
 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 vruiTransformNodegetDCS ()
 
virtual vruiButtonProvidergetButtonProvider () const
 

Public Attributes

float c1r
 
float c1g
 
float c1b
 
float c1a
 
float c2r
 
float c2g
 
float c2b
 
float c2a
 

Additional Inherited Members

- Public Types inherited from vrui::coButtonGeometry
enum  ActiveGeometry {
  NORMAL = 0 , PRESSED , HIGHLIGHT , HIGHLIGHT_PRESSED ,
  DISABLED
}
 
- Protected Attributes inherited from vrui::coButtonGeometry
std::string texture
 name of the texture file More...
 
vruiButtonProviderbuttonGeometryProvider
 

Constructor & Destructor Documentation

◆ coTextButtonGeometry()

vrui::coTextButtonGeometry::coTextButtonGeometry ( float  width,
float  height,
const std::string &  name 
)

◆ ~coTextButtonGeometry()

vrui::coTextButtonGeometry::~coTextButtonGeometry ( )
virtual

Member Function Documentation

◆ getClassName()

const char * vrui::coTextButtonGeometry::getClassName ( ) const
virtual

get the Element's classname

Reimplemented from vrui::coButtonGeometry.

◆ getInnerHeight()

float vrui::coTextButtonGeometry::getInnerHeight ( ) const
inline

◆ getInnerWidth()

float vrui::coTextButtonGeometry::getInnerWidth ( ) const
inline

◆ isOfClassName()

bool vrui::coTextButtonGeometry::isOfClassName ( const char *  classname) const
virtual

check if the Element or any ancestor is this classname

Reimplemented from vrui::coButtonGeometry.

◆ setColors()

void vrui::coTextButtonGeometry::setColors ( float  r1,
float  g1,
float  b1,
float  a1,
float  r2,
float  g2,
float  b2,
float  a2 
)

Member Data Documentation

◆ c1a

float vrui::coTextButtonGeometry::c1a

◆ c1b

float vrui::coTextButtonGeometry::c1b

◆ c1g

float vrui::coTextButtonGeometry::c1g

◆ c1r

float vrui::coTextButtonGeometry::c1r

◆ c2a

float vrui::coTextButtonGeometry::c2a

◆ c2b

float vrui::coTextButtonGeometry::c2b

◆ c2g

float vrui::coTextButtonGeometry::c2g

◆ c2r

float vrui::coTextButtonGeometry::c2r

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