|
| coSlopePoti (const std::string &buttonText, coValuePotiActor *actor, const std::string &backgroundTexture, vruiCOIM *cInterfaceManager=0, const std::string &interfaceName="") |
| Constructor. More...
|
|
virtual void | setValue (float) |
| Set slope poti value. More...
|
|
virtual bool | update () |
| Update method, called every overall frame. More...
|
|
virtual void | remoteOngoing (const char *message) |
| Inform collaborators about value changes. More...
|
|
virtual void | setABS (bool on) |
| Define if poti should only represent positive values. More...
|
|
virtual bool | getABS () const |
| Get state of positive values display. More...
|
|
virtual float | getValue () const |
| Get current poti value. 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 | convertSlopeToLinear (float) const |
| Converts a slope value to a linear value. More...
|
|
float | convertLinearToSlope (float) const |
| Converts a linear value to a slope value. More...
|
|
| coValuePoti (const std::string &buttonText, coValuePotiActor *actor, const std::string &backgroundTexture, vruiCOIM *cInterfaceManager=0, const std::string &interfaceName="") |
| Constructor. More...
|
|
virtual | ~coValuePoti () |
| Destructor. 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 bool | update () |
| Update poti value depending on user input. More...
|
|
virtual void | setValue (float value) |
| Set poti value. More...
|
|
virtual void | setMin (float min) |
| Set minimum poti value. More...
|
|
virtual void | setMax (float max) |
| Set maximum poti value. More...
|
|
virtual float | getValue () const |
| Get poti value. More...
|
|
virtual int | hit (vruiHit *hit) |
| This method is called on intersections of the input device with the poti . More...
|
|
virtual void | miss () |
| Called when input device leaves the element. More...
|
|
void | joystickUp () |
|
void | joystickDown () |
|
void | setPos (float x, float y, float z=0.0f) |
| Set poti location. More...
|
|
void | setSize (float size) |
| Set poti size. More...
|
|
void | setSize (float width, float height, float depth) |
| Set different sizes for each dimension (see setSize) More...
|
|
void | setInteger (bool on) |
| Set number type for poti value. More...
|
|
void | setIncrement (float increment) |
| Set increment for discreet poti. More...
|
|
void | setLogarithmic (bool on) |
|
void | setState (float min, float max, float value, bool isInt, float inc=0.0f) |
| Set maximum poti value. More...
|
|
virtual float | getMin () const |
|
virtual float | getMax () const |
|
virtual bool | isInteger () const |
|
virtual bool | isDiscrete () const |
|
virtual float | getIncrement () const |
|
virtual bool | isLogarithmic () const |
|
virtual float | getXSize () const |
|
virtual float | getYSize () const |
|
virtual float | getZSize () const |
|
virtual void | setLabelVisible (bool) |
| Set the poti label visibility. More...
|
|
virtual bool | isLabelVisible () |
| This method checks if the label is visible. More...
|
|
const std::string & | getBackgroundTexture () const |
|
const std::string & | getButtonText () const |
|
float | discreteValue (float value) 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...
|
|
| 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...
|
|
| vruiCollabInterface (vruiCOIM *manager, const std::string &interfaceName, int iType=NONE) |
| Constructor. More...
|
|
virtual | ~vruiCollabInterface () |
| Destructor, removes references to this interface from its coim. More...
|
|
int | getType () const |
| get the interface type More...
|
|
vruiCOIM * | getManager () |
|
virtual void | parseMessage (int type, unsigned int len, const char *message) |
| this method is called when a message from a remote UI arrives 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...
|
|
A special rotary knob to adjust slope values.
The angle of the rotary knob represents the selected slope value.
- See also
- coValuePoti