ACG::SceneGraph::CoordsysNode Class Reference

Inheritance diagram for ACG::SceneGraph::CoordsysNode:
Inheritance graph
[legend]
Collaboration diagram for ACG::SceneGraph::CoordsysNode:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 79 of file CoordsysNode.hh.


Constructor & Destructor Documentation

ACG::SceneGraph::CoordsysNode::CoordsysNode ( BaseNode _parent = 0,
std::string  _name = "<TextNode>",
CoordsysMode  _mode = SCREENPOS 
) [inline]

default constructor

Parameters:
_parent Define the parent Node this node gets attached to
_name Name of this Node

Definition at line 94 of file CoordsysNode.hh.


The documentation for this class was generated from the following files:

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .