GLC_PullManipulator Class Reference

GLC_PullManipulator :. More...

#include <glc_pullmanipulator.h>

Inheritance diagram for GLC_PullManipulator:

List of all members.

Public Member Functions

Constructor / Destructor

 GLC_PullManipulator (GLC_Viewport *pViewport, const GLC_Vector3d &pullDirection)
 Construct pull manipulator with the given viewport and pulling direction.
 GLC_PullManipulator (const GLC_PullManipulator &pullManipulator)
 Copy constructor.
virtual ~GLC_PullManipulator ()
Get Functions

GLC_Vector3d pullingDirection () const
 Return the pulling direction of this pull manipulator.
virtual GLC_AbstractManipulatorclone () const
 Clone the concrete manipulator.
Set Functions

void setPullingDirection (const GLC_Vector3d &pullingDirection)
 Set the pulling direction of this 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_Vector3d m_PullDirection
 The pulling direction.

Detailed Description

GLC_PullManipulator :.


Definition at line 37 of file glc_pullmanipulator.h.

Constructor & Destructor Documentation

GLC_PullManipulator::GLC_PullManipulator ( GLC_Viewport pViewport,
const GLC_Vector3d pullDirection 

Construct pull manipulator with the given viewport and pulling direction.

Definition at line 31 of file glc_pullmanipulator.cpp.

Referenced by clone().

GLC_PullManipulator::GLC_PullManipulator ( const GLC_PullManipulator pullManipulator  ) 

Copy constructor.

Definition at line 38 of file glc_pullmanipulator.cpp.

GLC_PullManipulator::~GLC_PullManipulator (  )  [virtual]


Definition at line 45 of file glc_pullmanipulator.cpp.

Member Function Documentation

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

Clone the concrete manipulator.

Implements GLC_AbstractManipulator.

Definition at line 50 of file glc_pullmanipulator.cpp.

References GLC_PullManipulator().

GLC_Matrix4x4 GLC_PullManipulator::doManipulate ( const GLC_Point3d newPoint,
const GLC_Vector3d projectionDirection 
) [protected, virtual]
GLC_Vector3d GLC_PullManipulator::pullingDirection (  )  const [inline]

Return the pulling direction of this pull manipulator.

Definition at line 60 of file glc_pullmanipulator.h.

void GLC_PullManipulator::setPullingDirection ( const GLC_Vector3d pullingDirection  ) 

Set the pulling direction of this manipulator.

Definition at line 55 of file glc_pullmanipulator.cpp.

References GLC_AbstractManipulator::isInManipulateState(), and m_PullDirection.

Member Data Documentation

The pulling direction.

Definition at line 89 of file glc_pullmanipulator.h.

Referenced by doManipulate(), and setPullingDirection().

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

©2005-2011 Laurent Ribon