GLC_RotationManipulator Class Reference

GLC_RotationManipulator :. More...

#include <glc_rotationmanipulator.h>

Inheritance diagram for GLC_RotationManipulator:
GLC_AbstractManipulator

List of all members.

Public Member Functions

Constructor / Destructor

 GLC_RotationManipulator (GLC_Viewport *pViewport, const GLC_Line3d &rotationLine)
 Construct a rotation manipulator with the given viewport and rotation line.
 GLC_RotationManipulator (const GLC_RotationManipulator &rotationmanipulator)
 Copy constructor.
virtual ~GLC_RotationManipulator ()
 Destructor.
Get Functions

virtual GLC_AbstractManipulatorclone () const
 Clone the concrete manipulator.
GLC_Line3d rotationLine () const
 Return the rotation line of this rotation manipulator.
Set Functions

void setRotationLine (const GLC_Line3d line)
 Set the rotation line of this rotation manipulator.

Protected Member Functions

virtual GLC_Matrix4x4 doManipulate (const GLC_Point3d &newPoint, const GLC_Vector3d &projectionDirection)
 Manipulate this manipulator and return the moving matrix.

Private Attributes

GLC_Line3d m_RotationLine
 The rotation line of this manipulator.

Detailed Description

GLC_RotationManipulator :.

GLC_RotationManipulator

Definition at line 39 of file glc_rotationmanipulator.h.


Constructor & Destructor Documentation

GLC_RotationManipulator::GLC_RotationManipulator ( GLC_Viewport pViewport,
const GLC_Line3d rotationLine 
)

Construct a rotation manipulator with the given viewport and rotation line.

Definition at line 27 of file glc_rotationmanipulator.cpp.

Referenced by clone().

GLC_RotationManipulator::GLC_RotationManipulator ( const GLC_RotationManipulator rotationmanipulator  ) 

Copy constructor.

Definition at line 34 of file glc_rotationmanipulator.cpp.

GLC_RotationManipulator::~GLC_RotationManipulator (  )  [virtual]

Destructor.

Definition at line 41 of file glc_rotationmanipulator.cpp.


Member Function Documentation

GLC_AbstractManipulator * GLC_RotationManipulator::clone (  )  const [virtual]

Clone the concrete manipulator.

Implements GLC_AbstractManipulator.

Definition at line 46 of file glc_rotationmanipulator.cpp.

References GLC_RotationManipulator().

GLC_Matrix4x4 GLC_RotationManipulator::doManipulate ( const GLC_Point3d newPoint,
const GLC_Vector3d projectionDirection 
) [protected, virtual]

Manipulate this manipulator and return the moving matrix.

Implements GLC_AbstractManipulator.

Definition at line 51 of file glc_rotationmanipulator.cpp.

References GLC_Line3d::direction(), glc::lineIntersectPlane(), GLC_AbstractManipulator::m_PreviousPosition, m_RotationLine, and GLC_Line3d::startingPoint().

GLC_Line3d GLC_RotationManipulator::rotationLine (  )  const [inline]

Return the rotation line of this rotation manipulator.

Definition at line 66 of file glc_rotationmanipulator.h.

void GLC_RotationManipulator::setRotationLine ( const GLC_Line3d  line  )  [inline]

Set the rotation line of this rotation manipulator.

Definition at line 77 of file glc_rotationmanipulator.h.


Member Data Documentation

The rotation line of this manipulator.

Definition at line 94 of file glc_rotationmanipulator.h.

Referenced by doManipulate().


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

SourceForge.net Logo

©2005-2011 Laurent Ribon