|
| coRowMenuHandle (const std::string &title, coMenu *menu) |
| Creates a titlebar for RowMenus. More...
|
|
virtual | ~coRowMenuHandle () |
| Destructor. More...
|
|
virtual void | setTransformMatrix (vruiMatrix *matrix) |
| set a new menu position and orientation matrix. More...
|
|
virtual void | setTransformMatrix (vruiMatrix *matrix, float scale) |
| set a new menu position orientation and scale matrix. More...
|
|
virtual void | setScale (float scale) |
| scales the menu. More...
|
|
virtual float | getScale () const |
| Get Scale factor. More...
|
|
virtual bool | update () |
| In this method, the menu is moved and scaled during userinteractions. More...
|
|
virtual void | resizeToParent (float, float, float, bool shrink=true) |
| This method is called by containers after they resized to allow children to adjust their geometry to the new parents' size Children must not call childResized() of their parent here, as this could lead to an infinite loop. More...
|
|
virtual int | hit (vruiHit *hit) |
| hit is called whenever the button with this action is intersected return ACTION_CALL_ON_MISS if you want miss to be called otherwise return ACTION_DONE More...
|
|
virtual void | miss () |
| Called when input device leaves the element. More...
|
|
virtual void | highlight (bool highlight) |
|
virtual void | shrinkToMin () |
| shrink all children. More...
|
|
virtual void | createGeometry () |
|
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 void | updateTitle (const char *newTitle) |
| update the title More...
|
|
bool | wasMoved () const |
|
| coRowContainer (Orientation orientation=HORIZONTAL) |
| Constructor. More...
|
|
virtual | ~coRowContainer () |
| Destructor, does not delete its children. More...
|
|
virtual void | addElement (coUIElement *element) |
| Appends a child to this container. More...
|
|
virtual void | removeElement (coUIElement *element) |
| Removes a child from this container. More...
|
|
virtual void | insertElement (coUIElement *element, int pos) |
| Inserts a child into this container. More...
|
|
virtual void | resizeToParent (float, float, float, bool shrink=true) |
| This method is called by containers after they resized to allow children to adjust their geometry to the new parents' size Children must not call childResized() of their parent here, as this could lead to an infinite loop. More...
|
|
virtual void | shrinkToMin () |
| shrink all children. More...
|
|
void | hide (coUIElement *element) |
| Hide one of the children. More...
|
|
void | show (coUIElement *element) |
| Show one of the children. More...
|
|
void | setPos (float x, float y, float z=0.0f) |
|
void | setOrientation (Orientation orientation) |
| Change the orientation of the container. More...
|
|
int | getOrientation () const |
| Retrieve the orientation of the container. More...
|
|
void | setAlignment (int alignment) |
| Change the alignment of the children. More...
|
|
void | setHgap (float g) |
| Change the horizontal gap between children. More...
|
|
void | setVgap (float g) |
| Change the vertical gap between children. More...
|
|
void | setDgap (float g) |
| Change the depth gap between children. More...
|
|
vruiTransformNode * | getDCS () |
|
virtual float | getWidth () const |
| Returns element width. More...
|
|
virtual float | getHeight () const |
| Returns element height. More...
|
|
virtual float | getDepth () const |
| Get z axis object size. More...
|
|
virtual float | getXpos () const |
| Returns element x position. More...
|
|
virtual float | getYpos () const |
| Returns element y position. More...
|
|
virtual float | getZpos () const |
| Get z position. More...
|
|
virtual float | getVgap () const |
|
virtual float | getHgap () const |
|
virtual float | getDgap () const |
|
virtual void | setAttachment (int attachment) |
| sets the attachment border More...
|
|
virtual int | getAttachment () const |
| returns the attachment border More...
|
|
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...
|
|
| coUIContainer () |
| Constructor. More...
|
|
virtual | ~coUIContainer () |
| Destructor. More...
|
|
virtual void | setEnabled (bool enabled) |
| Set activation state of this container and all its children. More...
|
|
virtual void | setHighlighted (bool highlighted) |
| Set highlight state of this container and all its children. More...
|
|
virtual void | resizeToParent (float x, float y, float z, bool shrink=true) |
| This method is called by containers after they resized to allow children to adjust their geometry to the new parents' size Children must not call childResized() of their parent here, as this could lead to an infinite loop. More...
|
|
virtual void | shrinkToMin () |
| Set element location in space. More...
|
|
virtual void | addElement (coUIElement *element) |
| Appends a child to this container. More...
|
|
virtual void | removeElement (coUIElement *element) |
| Removes a child from this container. More...
|
|
virtual void | removeLastElement () |
| Removes a child from this container. More...
|
|
virtual void | showElement (coUIElement *element) |
| Adds the specified element to the scenegraph. More...
|
|
void | setXAlignment (int a) |
| set the alignment in X direction of the children More...
|
|
void | setYAlignment (int a) |
| set the alignment in Y direction of the children More...
|
|
void | setZAlignment (int a) |
| set the alignment in Z direction of the children More...
|
|
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...
|
|
float | getMaxH () const |
| maximum size in H direction More...
|
|
float | getMaxW () const |
| maximum size in W direction More...
|
|
float | getMaxD () const |
| maximum size in D direction More...
|
|
float | getSumH () const |
| sum of sizes in H direction More...
|
|
float | getSumW () const |
| sum of sizes in W direction More...
|
|
float | getSumD () const |
| sum of sizes in D direction More...
|
|
int | getSize () |
|
| coUIElement () |
|
virtual | ~coUIElement () |
| Destructor. More...
|
|
virtual void | createGeometry () |
|
virtual void | setParent (coUIContainer *) |
| Set parent container. More...
|
|
virtual coUIContainer * | getParent () |
| Get parent container. More...
|
|
virtual void | setEnabled (bool enabled) |
| Set activation state. More...
|
|
virtual void | setHighlighted (bool highlighted) |
| Set highlight state. More...
|
|
virtual void | setVisible (bool visible) |
| Set element visibility. More...
|
|
virtual bool | isEnabled () const |
| Get activation state. More...
|
|
virtual bool | isHighlighted () const |
| Get highlight state. More...
|
|
virtual bool | isVisible () const |
| Get visibility state. More...
|
|
virtual float | getWidth () const =0 |
| Returns element width. More...
|
|
virtual float | getHeight () const =0 |
| Returns element height. More...
|
|
virtual float | getDepth () const |
| Get z axis object size. More...
|
|
virtual float | getXpos () const =0 |
| Returns element x position. More...
|
|
virtual float | getYpos () const =0 |
| Returns element y position. More...
|
|
virtual float | getZpos () const |
| Get z position. More...
|
|
virtual void | childResized (bool shrink=true) |
| This method is called by children whenever they change their size Implementations of this method should call the childResized() of their parent container. More...
|
|
virtual void | resizeToParent (float, float, float, bool shrink=true) |
| This method is called by containers after they resized to allow children to adjust their geometry to the new parents' size Children must not call childResized() of their parent here, as this could lead to an infinite loop. More...
|
|
virtual void | shrinkToMin () |
| Set element location in space. More...
|
|
virtual void | setPos (float, float, float)=0 |
|
virtual void | setSize (float, float, float) |
| Set UI element size. More...
|
|
virtual void | setSize (float) |
| Set UI element size, use equal values for all dimensions. More...
|
|
virtual float | getResizePref () |
|
virtual void | setUserData (coUIUserData *) |
| Set the current userdata object. More...
|
|
virtual coUIUserData * | getUserData () const |
| Returns the current userdata object. More...
|
|
virtual vruiTransformNode * | getDCS () |
|
virtual vruiUIElementProvider * | getUIElementProvider () const |
|
virtual void | setAttachment (int) |
| sets the attachment border More...
|
|
virtual int | getAttachment () const |
| returns the attachment border More...
|
|
void | setUniqueName (const char *) |
|
const char * | getUniqueName () 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...
|
|
| coAction () |
| Constructor. More...
|
|
virtual | ~coAction () |
| Destructor. More...
|
|
virtual int | hit (vruiHit *hit)=0 |
| hit is called whenever the node, or any node underneath the node with this action is intersected return ACTION_CALL_ON_MISS if you want miss to be called otherwise return ACTION_DONE More...
|
|
virtual void | miss () |
| miss is called once after a hit, if the node is not intersected anymore More...
|
|
void | setFrame (unsigned int frame) |
| INTERNAL set the framecounter (used to produce the miss call) More...
|
|
unsigned int | getFrame () const |
| INTERNAL get the framecounter (used to produce the miss call) More...
|
|
void | setNode (vruiNode *) |
| INTERNAL set the node this action belongs to. More...
|
|
void | addChild (coAction *) |
| INTERNAL add a child action. More...
|
|
virtual int | hitAll (vruiHit *hit) |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
virtual void | missAll () |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
| 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...
|
|
virtual | ~coButtonActor () |
|
virtual void | buttonEvent (coButton *button)=0 |
|