

Public Types | |
| enum | CoordsysMode { POSITION, SCREENPOS } |
Public Member Functions | |
| CoordsysNode (BaseNode *_parent=0, std::string _name="<TextNode>", CoordsysMode _mode=SCREENPOS) | |
| ~CoordsysNode () | |
| destructor | |
| ACG_CLASSNAME (CoordsysNode) | |
| static name of this class | |
| unsigned int | availableDrawModes () const |
| return available draw modes | |
| void | boundingBox (Vec3f &_bbMin, Vec3f &_bbMax) |
| update bounding box | |
| void | draw (GLState &_state, unsigned int _drawMode) |
| draw Coordsys | |
| void | pick (GLState &_state, PickTarget _target) |
| draw Coordsys for object picking | |
| void | setMode (const CoordsysMode _mode) |
| set mode to either POSITION or SCREENPOS | |
| void | setPosition (const Vec3f &_pos) |
| set position of the coordsys | |
| CoordsysMode | getMode () const |
| get current mode | |
Private Member Functions | |
| void | drawCoordsys (GLState &_state) |
| void | drawCoordsysPick (GLState &_state) |
| void | clearPickArea (GLState &_state, bool _draw, GLfloat _depth) |
| void | boundingCircle (std::vector< Vec2f > &_in, Vec2f &_center, float &_radius) |
Private Attributes | |
| CoordsysMode | mode_ |
| Vec3f | pos3f_ |
Definition at line 79 of file CoordsysNode.hh.
| ACG::SceneGraph::CoordsysNode::CoordsysNode | ( | BaseNode * | _parent = 0, |
|
| std::string | _name = "<TextNode>", |
|||
| CoordsysMode | _mode = SCREENPOS | |||
| ) | [inline] |
default constructor
| _parent | Define the parent Node this node gets attached to | |
| _name | Name of this Node |
Definition at line 94 of file CoordsysNode.hh.