Public Member Functions | Private Member Functions | Private Attributes

ACG::SceneGraph::PlaneNode Class Reference

#include <ACG/Scenegraph/PlaneNode.hh>

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

List of all members.

Public Member Functions

 PlaneNode (BaseNode *_parent=0, std::string _name="<PlaneNode>")
 constructor
 ~PlaneNode ()
 destructor
 ACG_CLASSNAME (PlaneNode)
 static name of this class
DrawModes::DrawMode availableDrawModes () const
 return available draw modes
void boundingBox (Vec3d &_bbMin, Vec3d &_bbMax)
 update bounding box
void draw (GLState &_state, const DrawModes::DrawMode &_drawMode)
 draw Plane
void pick (GLState &_state, PickTarget _target)
 draw Plane for object picking
void setPosition (const Vec3f &_position, const Vec3f &_normal)
 set center position and normal of plane
void setPosition (const Vec3f &_position, const Vec3f &_xDirection, const Vec3f &_yDirection)
void transform (const ACG::Matrix4x4d &_mat)
 tranform the plane with given matrix
void setSize (double _xDirection, double _yDirection)
 set plane size
void manipulatorVisible (bool _visible)
bool manipulatorVisible ()
Vec3f position ()
 get center position of the plane
Vec3f normal ()
 get current normal
Vec3f xDirection ()
 local x direction (multiplied with width)
Vec3f yDirection ()
 local y direction (multiplied with height)

Private Member Functions

void drawPlane (GLState &_state)
void drawManipulator (GLState &_state)
void drawPlanePick (GLState &_state)
void drawManipulatorPick (GLState &_state)

Private Attributes

Vec3f position_
Vec3f normal_
Vec3f xDirection_
Vec3f yDirection_

Detailed Description

PlaneNode renders a plane

Definition at line 73 of file PlaneNode.hh.


Member Function Documentation

void ACG::SceneGraph::PlaneNode::setPosition ( const Vec3f _position,
const Vec3f _xDirection,
const Vec3f _yDirection 
)

set center position, local xdirection (multiplied with width) and local ydirection (multiplied with height)

Definition at line 215 of file PlaneNode.cc.


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