|
| coRotButton (coButtonGeometry *geometry, coRotButtonActor *actor) |
|
virtual | ~coRotButton () |
|
void | setState (bool state, bool generateEvent=false) |
|
bool | getState () const |
|
void | updateSwitch () |
|
bool | isPressed () const |
|
virtual int | hit (vruiHit *hit) |
|
virtual void | miss () |
|
virtual void | onPress () |
|
virtual void | onRelease () |
|
void | setPos (float x, float y, float z=0.0f) |
|
virtual void | setSize (float x, float y, float z) |
|
virtual void | setSize (float size) |
|
virtual void | setRotation (float rotation) |
|
virtual void | setActive (bool a) |
| functions activates or deactivates the item More...
|
|
virtual float | getWidth () const |
| Returns element width. More...
|
|
virtual float | getHeight () const |
| Returns element height. More...
|
|
virtual float | getXpos () const |
| Returns element x position. More...
|
|
virtual float | getYpos () const |
| Returns element y position. More...
|
|
virtual float | getZpos () const |
|
virtual void | createGeometry () |
|
virtual void | resizeGeometry () |
|
virtual vruiTransformNode * | getDCS () |
|
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 |
|
virtual void | miss () |
|
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...
|
|
| coUIElement () |
|
virtual | ~coUIElement () |
|
virtual void | createGeometry () |
|
virtual void | setParent (coUIContainer *) |
|
virtual coUIContainer * | getParent () |
|
virtual void | setEnabled (bool enabled) |
|
virtual void | setHighlighted (bool highlighted) |
|
virtual void | setVisible (bool visible) |
|
virtual bool | isEnabled () const |
|
virtual bool | isHighlighted () const |
|
virtual bool | isVisible () const |
|
virtual float | getWidth () const =0 |
| Returns element width. More...
|
|
virtual float | getHeight () const =0 |
| Returns element height. More...
|
|
virtual float | getDepth () const |
|
virtual float | getXpos () const =0 |
| Returns element x position. More...
|
|
virtual float | getYpos () const =0 |
| Returns element y position. More...
|
|
virtual float | getZpos () const |
|
virtual void | childResized (bool shrink=true) |
|
virtual void | resizeToParent (float, float, float, bool shrink=true) |
|
virtual void | shrinkToMin () |
| Set element location in space. More...
|
|
virtual void | setPos (float, float, float)=0 |
|
virtual void | setSize (float, float, float) |
|
virtual void | setSize (float) |
|
virtual float | getResizePref () |
|
virtual void | setUserData (coUIUserData *) |
|
virtual coUIUserData * | getUserData () const |
|
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...
|
|
|
enum | Result { ACTION_DONE = 0x00
, ACTION_CALL_ON_MISS = 0x01
, ACTION_UNDEF = 0x02
} |
|
enum | Material {
RED = 0
, GREEN
, BLUE
, YELLOW
,
GREY
, WHITE
, BLACK
, DARK_YELLOW
,
WHITE_NL
, ITEM_BACKGROUND_NORMAL
, ITEM_BACKGROUND_HIGHLIGHTED
, ITEM_BACKGROUND_DISABLED
,
HANDLE_BACKGROUND_NORMAL
, HANDLE_BACKGROUND_HIGHLIGHTED
, HANDLE_BACKGROUND_DISABLED
, BACKGROUND
,
NUM_MATERIALS
} |
| Color definitions, to be used whenever a material is needed. More...
|
|
enum | {
LEFT = 0
, TOP
, RIGHT
, BOTTOM
,
REPLACE
} |
|
static vruiMatrix * | getMatrixFromPositionHprScale (float x, float y, float z, float h, float p, float r, float scale) |
|
enum vrui::coUIElement:: { ... } | Attachments |
|
virtual void | resizeGeometry () |
|
virtual const vruiMatrix * | getTransformMatrix () |
|
Basic button class providing a selectable rectangular area. This class is derived from coAction for input device events, and it is derived from coUIElement to inherit the basic UI element functionality. Additionally it offers the chance to rotate the content.