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

COVISE Online Documentation

Next

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

#include <coDialog.h>

Inheritance diagram for vrui::coDialog:
vrui::coUpdateable

Public Member Functions

 coDialog (const std::string &name)
 
virtual ~coDialog ()
 Destructor. More...
 
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 ()
 this method is called once per frame as long as it returns true. More...
 
void show ()
 
void hide ()
 
- Public Member Functions inherited from vrui::coUpdateable
 coUpdateable ()
 Constructor. More...
 
virtual ~coUpdateable ()
 you should adds this object to the update manager in your constructor More...
 
virtual bool update ()=0
 this method is called once per frame as long as it returns true. More...
 

Protected Attributes

coFrameitemsFrame
 
coPopupHandlehandle
 

Constructor & Destructor Documentation

◆ coDialog()

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

◆ ~coDialog()

vrui::coDialog::~coDialog ( )
virtual

Destructor.

Member Function Documentation

◆ addElement()

void vrui::coDialog::addElement ( coUIElement el)

◆ childResized()

void vrui::coDialog::childResized ( bool  shrink = true)
virtual

◆ getDCS()

vruiTransformNode * vrui::coDialog::getDCS ( )

◆ getDepth()

float vrui::coDialog::getDepth ( ) const

◆ getHeight()

float vrui::coDialog::getHeight ( ) const

◆ getScale()

float vrui::coDialog::getScale ( ) const

◆ getWidth()

float vrui::coDialog::getWidth ( ) const

◆ getXpos()

float vrui::coDialog::getXpos ( ) const

◆ getYpos()

float vrui::coDialog::getYpos ( ) const

◆ getZpos()

float vrui::coDialog::getZpos ( ) const

◆ hide()

void vrui::coDialog::hide ( )

◆ removeElement()

void vrui::coDialog::removeElement ( coUIElement el)

◆ resizeToParent()

void vrui::coDialog::resizeToParent ( float  x,
float  y,
float  z,
bool  shrink = true 
)
virtual

◆ setEnabled()

void vrui::coDialog::setEnabled ( bool  on)

◆ setHighlighted()

void vrui::coDialog::setHighlighted ( bool  on)

◆ setPos()

void vrui::coDialog::setPos ( float  x,
float  y,
float  z 
)

◆ setScale()

void vrui::coDialog::setScale ( float  scale)

◆ setSize() [1/2]

void vrui::coDialog::setSize ( float  size)

◆ setSize() [2/2]

void vrui::coDialog::setSize ( float  width,
float  height,
float  depth 
)

◆ setTransformMatrix() [1/2]

void vrui::coDialog::setTransformMatrix ( vruiMatrix matrix)

◆ setTransformMatrix() [2/2]

void vrui::coDialog::setTransformMatrix ( vruiMatrix matrix,
float  scale 
)

◆ setVisible()

void vrui::coDialog::setVisible ( bool  on)

◆ show()

void vrui::coDialog::show ( )

◆ showElement()

void vrui::coDialog::showElement ( coUIElement el)

◆ update()

bool vrui::coDialog::update ( )
virtual

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

◆ handle

coPopupHandle* vrui::coDialog::handle
protected

◆ itemsFrame

coFrame* vrui::coDialog::itemsFrame
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