osgManipulator::TranslateInPlaneCommand Class Reference

Inheritance diagram for osgManipulator::TranslateInPlaneCommand:

osgManipulator::MotionCommand osg::Referenced

List of all members.

Public Member Functions

 TranslateInPlaneCommand ()
 TranslateInPlaneCommand (const osg::Plane &plane)
virtual MotionCommandcreateCommandInverse ()
void setPlane (const osg::Plane &plane)
const osg::PlanegetPlane () const
void setTranslation (const osg::Vec3d &t)
const osg::Vec3dgetTranslation () const
void setReferencePoint (const osg::Vec3d &rp)
const osg::Vec3dgetReferencePoint () const
virtual osg::Matrix getMotionMatrix () const

Protected Member Functions

virtual ~TranslateInPlaneCommand ()


Detailed Description

Command for translating in a plane.

Constructor & Destructor Documentation

osgManipulator::TranslateInPlaneCommand::TranslateInPlaneCommand (  ) 

osgManipulator::TranslateInPlaneCommand::TranslateInPlaneCommand ( const osg::Plane plane  ) 

virtual osgManipulator::TranslateInPlaneCommand::~TranslateInPlaneCommand (  )  [protected, virtual]


Member Function Documentation

virtual MotionCommand* osgManipulator::TranslateInPlaneCommand::createCommandInverse (  )  [virtual]

create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes.

Implements osgManipulator::MotionCommand.

void osgManipulator::TranslateInPlaneCommand::setPlane ( const osg::Plane plane  )  [inline]

const osg::Plane& osgManipulator::TranslateInPlaneCommand::getPlane (  )  const [inline]

void osgManipulator::TranslateInPlaneCommand::setTranslation ( const osg::Vec3d t  )  [inline]

const osg::Vec3d& osgManipulator::TranslateInPlaneCommand::getTranslation (  )  const [inline]

void osgManipulator::TranslateInPlaneCommand::setReferencePoint ( const osg::Vec3d rp  )  [inline]

ReferencePoint is used only for snapping.

const osg::Vec3d& osgManipulator::TranslateInPlaneCommand::getReferencePoint (  )  const [inline]

virtual osg::Matrix osgManipulator::TranslateInPlaneCommand::getMotionMatrix (  )  const [inline, virtual]

Gets the matrix for transforming the object being dragged. This matrix is in the command's coordinate systems.

Implements osgManipulator::MotionCommand.

References osg::Matrixd::translate().


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

Generated on Sat Mar 20 12:34:04 2010 for openscenegraph by  doxygen 1.5.6