|
OpenSceneGraph
3.0.1
|
Command for translating in a plane. More...

Public Member Functions | |
| TranslateInPlaneCommand () | |
| TranslateInPlaneCommand (const osg::Plane &plane) | |
| virtual MotionCommand * | createCommandInverse () |
| create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. | |
| void | setPlane (const osg::Plane &plane) |
| const osg::Plane & | getPlane () const |
| void | setTranslation (const osg::Vec3d &t) |
| const osg::Vec3d & | getTranslation () const |
| void | setReferencePoint (const osg::Vec3d &rp) |
| ReferencePoint is used only for snapping. | |
| const osg::Vec3d & | getReferencePoint () const |
| virtual osg::Matrix | getMotionMatrix () const |
| Gets the matrix for transforming the object being dragged. | |
Protected Member Functions | |
| virtual | ~TranslateInPlaneCommand () |
Command for translating in a plane.
| virtual osgManipulator::TranslateInPlaneCommand::~TranslateInPlaneCommand | ( | ) | [protected, virtual] |
| 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.
| 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().
| const osg::Plane& osgManipulator::TranslateInPlaneCommand::getPlane | ( | ) | const [inline] |
| const osg::Vec3d& osgManipulator::TranslateInPlaneCommand::getReferencePoint | ( | ) | const [inline] |
| const osg::Vec3d& osgManipulator::TranslateInPlaneCommand::getTranslation | ( | ) | const [inline] |
| void osgManipulator::TranslateInPlaneCommand::setPlane | ( | const osg::Plane & | plane | ) | [inline] |
| void osgManipulator::TranslateInPlaneCommand::setReferencePoint | ( | const osg::Vec3d & | rp | ) | [inline] |
ReferencePoint is used only for snapping.
| void osgManipulator::TranslateInPlaneCommand::setTranslation | ( | const osg::Vec3d & | t | ) | [inline] |
| Generated at Thu Sep 27 2012 17:03:16 for the OpenSceneGraph by doxygen 1.7.6.1. |