60 #ifndef ACG_COORDSYSNODE_HH
61 #define ACG_COORDSYSNODE_HH
66 #include "BaseNode.hh"
67 #include "DrawModes.hh"
68 #include <ACG/GL/GLPrimitives.hh>
95 PERSPECTIVE_PROJECTION
112 std::string _name =
"<TextNode>",
113 CoordsysMode _mode = SCREENPOS,
114 ProjectionMode _projectionMode = PERSPECTIVE_PROJECTION);
126 void boundingBox(
Vec3d& _bbMin,
Vec3d& _bbMax);
138 void setMode(
const CoordsysMode _mode);
141 void setProjectionMode(
const ProjectionMode _mode);
144 void setPosition(
const Vec3f& _pos);
147 CoordsysMode getMode()
const;
150 ProjectionMode getProjectionMode()
const;
154 void drawCoordsys(
GLState& _state);
156 void drawCoordsysPick(
GLState& _state);
157 void clearPickArea(
GLState& _state,
bool _draw, GLfloat _depth);
158 void boundingCircle(std::vector<Vec2f> &_in,
Vec2f &_center,
float &_radius);
161 ProjectionMode projectionMode_;
177 #endif // ACG_COORDSYSNODE_HH defined
ProjectionMode
projection mode
Namespace providing different geometric functions concerning angles.
ACG::SceneGraph::CoordinateSystemNode CoordsysNode
Simple Name for CoordsysNode.
Draws the Coordsys at the coordsys origin.
PickTarget
What target to use for picking.
Interface class between scenegraph and renderer.