58 #ifndef ACG_OSDTRANSFORMNODE_HH 59 #define ACG_OSDTRANSFORMNODE_HH 65 #include "BaseNode.hh" 66 #include "DrawModes.hh" 111 inline void setCenter(
double _x,
double _y ) { center_[0] = _x; center_[1] = _y; }
112 inline void setCenter(
ACG::Vec2d _c ) { center_[0] = _c[0]; center_[1] = _c[1]; }
136 #endif // ACG_OSDTRANSFORMNODE_HH
void setCenter(double _x, double _y)
set center of OSD
PickTarget
What target to use for picking.
~OSDTransformNode()
destructor
Namespace providing different geometric functions concerning angles.
void leave(GLState &_state, const DrawModes::DrawMode &_drawMode)
restore transformation used for drawing
ACG::Vec2d getCenter() const
get center of OSD
OSDTransformNode(BaseNode *_parent=0, const std::string &_name="<OSDTransformNode>")
default constructor
void enterPick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
set up transformation used for picking
void leavePick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
restore transformation used for picking
void enter(GLState &_state, const DrawModes::DrawMode &_drawMode)
set up transformation used for drawing