19class vruiTransformNode;
50 void setPos(
float x,
float y,
float z = 0.0f);
53 return myWidth * scale;
57 return myHeight * scale;
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coAction.h:26
float contentWidth
Content width.
Definition: coPanel.h:90
float myWidth
Panel width.
Definition: coPanel.h:88
vruiTransformNode * myDCS
Definition: coPanel.h:81
float myX
Panel position X.
Definition: coPanel.h:85
float scale
scale factor, scales all children
Definition: coPanel.h:84
void show(coUIElement *element)
virtual float getYpos() const
Returns element y position.
Definition: coPanel.h:63
vruiTransformNode * myPosDCS
Transformation of the panel geometry.
Definition: coPanel.h:82
virtual float getXpos() const
Returns element x position.
Definition: coPanel.h:59
virtual float getWidth() const
Returns element width.
Definition: coPanel.h:51
virtual vruiTransformNode * getDCS()
coPanel(coPanelGeometry *geom)
virtual void setScale(float s)
float myZ
Panel position Z.
Definition: coPanel.h:87
virtual const char * getClassName() const
get the Element's classname
void hide(coUIElement *element)
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
virtual void showElement(coUIElement *element)
Adds the specified element to the scenegraph.
float myY
Panel position Y.
Definition: coPanel.h:86
virtual float getHeight() const
Returns element height.
Definition: coPanel.h:55
void setPos(float x, float y, float z=0.0f)
float myHeight
Panel height.
Definition: coPanel.h:89
virtual float getZpos() const
Definition: coPanel.h:67
virtual void addElement(coUIElement *element)
Appends a child to this container.
virtual int hit(vruiHit *hit)
vruiTransformNode * myChildDCS
Children origin.
Definition: coPanel.h:83
coPanelGeometry * myGeometry
Panel geometry.
Definition: coPanel.h:92
float contentHeight
Content height.
Definition: coPanel.h:91
Definition: coPanelGeometry.h:22
Definition: coUIContainer.h:24
Definition: coUIElement.h:53
Definition: vruiTransformNode.h:18