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