All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
vrui::coTextButtonGeometry Class Reference

#include <coTextButtonGeometry.h>

Inheritance diagram for vrui::coTextButtonGeometry:
Inheritance graph
Collaboration diagram for vrui::coTextButtonGeometry:
Collaboration graph

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
 Switch the shown geometry. More...
virtual void switchGeometry (ActiveGeometry active)
virtual const std::string & getTextureName () const
virtual void createGeometry ()
virtual void resizeGeometry ()
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 {
- Protected Attributes inherited from vrui::coButtonGeometry
std::string texture
 name of the texture file More...

Constructor & Destructor Documentation

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

Member Function Documentation

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

get the Element's classname

Reimplemented from vrui::coButtonGeometry.

float vrui::coTextButtonGeometry::getInnerHeight ( ) const
float vrui::coTextButtonGeometry::getInnerWidth ( ) const
virtual bool vrui::coTextButtonGeometry::isOfClassName ( const char *  ) const

check if the Element or any ancestor is this classname

Reimplemented from vrui::coButtonGeometry.

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

Member Data Documentation

float vrui::coTextButtonGeometry::c1a
float vrui::coTextButtonGeometry::c1b
float vrui::coTextButtonGeometry::c1g
float vrui::coTextButtonGeometry::c1r
float vrui::coTextButtonGeometry::c2a
float vrui::coTextButtonGeometry::c2b
float vrui::coTextButtonGeometry::c2g
float vrui::coTextButtonGeometry::c2r

The documentation for this class was generated from the following file: