58 #ifndef ACG_OSDTRANSFORMNODE_HH
59 #define ACG_OSDTRANSFORMNODE_HH
65 #include "BaseNode.hh"
66 #include "DrawModes.hh"
73 namespace SceneGraph {
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
Namespace providing different geometric functions concerning angles.
PickTarget
What target to use for picking.
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
ACG::Vec2d getCenter() const
get center of OSD
~OSDTransformNode()
destructor
OSDTransformNode(BaseNode *_parent=0, const std::string &_name="<OSDTransformNode>")
default constructor
void leave(GLState &_state, const DrawModes::DrawMode &_drawMode)
restore transformation used for drawing
void enter(GLState &_state, const DrawModes::DrawMode &_drawMode)
set up transformation used for drawing
void setCenter(double _x, double _y)
set center of OSD