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

#include <coDialog.h>

Inheritance diagram for vrui::coDialog:
Inheritance graph
Collaboration diagram for vrui::coDialog:
Collaboration graph

Public Member Functions

 coDialog (const std::string &name)
virtual ~coDialog ()
void addElement (coUIElement *)
void showElement (coUIElement *)
void removeElement (coUIElement *)
virtual void childResized (bool shrink=true)
virtual void resizeToParent (float, float, float, bool shrink=true)
void setEnabled (bool on)
void setHighlighted (bool on)
void setVisible (bool on)
vruiTransformNodegetDCS ()
void setTransformMatrix (vruiMatrix *matrix)
void setTransformMatrix (vruiMatrix *matrix, float scale)
void setScale (float scale)
float getScale () const
float getWidth () const
float getHeight () const
float getDepth () const
float getXpos () const
float getYpos () const
float getZpos () const
void setPos (float x, float y, float z)
void setSize (float width, float height, float depth)
void setSize (float size)
bool update ()
void show ()
void hide ()
- Public Member Functions inherited from vrui::coUpdateable
 coUpdateable ()
 Constructor. More...
virtual ~coUpdateable ()
 Destructor. More...

Protected Attributes


Constructor & Destructor Documentation

vrui::coDialog::coDialog ( const std::string &  name)
virtual vrui::coDialog::~coDialog ( )

Member Function Documentation

void vrui::coDialog::addElement ( coUIElement )
virtual void vrui::coDialog::childResized ( bool  shrink = true)
vruiTransformNode* vrui::coDialog::getDCS ( )
float vrui::coDialog::getDepth ( ) const
float vrui::coDialog::getHeight ( ) const
float vrui::coDialog::getScale ( ) const
float vrui::coDialog::getWidth ( ) const
float vrui::coDialog::getXpos ( ) const
float vrui::coDialog::getYpos ( ) const
float vrui::coDialog::getZpos ( ) const
void vrui::coDialog::hide ( )
void vrui::coDialog::removeElement ( coUIElement )
virtual void vrui::coDialog::resizeToParent ( float  ,
float  ,
float  ,
bool  shrink = true 
void vrui::coDialog::setEnabled ( bool  on)
void vrui::coDialog::setHighlighted ( bool  on)
void vrui::coDialog::setPos ( float  x,
float  y,
float  z 
void vrui::coDialog::setScale ( float  scale)
void vrui::coDialog::setSize ( float  width,
float  height,
float  depth 
void vrui::coDialog::setSize ( float  size)
void vrui::coDialog::setTransformMatrix ( vruiMatrix matrix)
void vrui::coDialog::setTransformMatrix ( vruiMatrix matrix,
float  scale 
void vrui::coDialog::setVisible ( bool  on)
void vrui::coDialog::show ( )
void vrui::coDialog::showElement ( coUIElement )
bool vrui::coDialog::update ( )

this method is called once per frame as long as it returns true. as soon as it returns false, it is removed from the update manager and not called again. the update method is called prior to preFrame();

Implements vrui::coUpdateable.

Member Data Documentation

coPopupHandle* vrui::coDialog::handle
coFrame* vrui::coDialog::itemsFrame

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