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

Public Member Functions | |
| TranslateInLineCommand () | |
| TranslateInLineCommand (const osg::LineSegment::vec_type &s, const osg::LineSegment::vec_type &e) | |
| virtual MotionCommand * | createCommandInverse () |
| create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes. | |
| void | setLine (const osg::LineSegment::vec_type &s, const osg::LineSegment::vec_type &e) |
| const osg::LineSegment::vec_type & | getLineStart () const |
| const osg::LineSegment::vec_type & | getLineEnd () const |
| void | setTranslation (const osg::Vec3 &t) |
| const osg::Vec3d & | getTranslation () const |
| virtual osg::Matrix | getMotionMatrix () const |
| Gets the matrix for transforming the object being dragged. | |
Protected Member Functions | |
| virtual | ~TranslateInLineCommand () |
Command for translating in a line.
| osgManipulator::TranslateInLineCommand::TranslateInLineCommand | ( | const osg::LineSegment::vec_type & | s, |
| const osg::LineSegment::vec_type & | e | ||
| ) |
| virtual osgManipulator::TranslateInLineCommand::~TranslateInLineCommand | ( | ) | [protected, virtual] |
| virtual MotionCommand* osgManipulator::TranslateInLineCommand::createCommandInverse | ( | ) | [virtual] |
create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes.
Implements osgManipulator::MotionCommand.
| const osg::LineSegment::vec_type& osgManipulator::TranslateInLineCommand::getLineEnd | ( | ) | const [inline] |
| const osg::LineSegment::vec_type& osgManipulator::TranslateInLineCommand::getLineStart | ( | ) | const [inline] |
| virtual osg::Matrix osgManipulator::TranslateInLineCommand::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::Vec3d& osgManipulator::TranslateInLineCommand::getTranslation | ( | ) | const [inline] |
| void osgManipulator::TranslateInLineCommand::setLine | ( | const osg::LineSegment::vec_type & | s, |
| const osg::LineSegment::vec_type & | e | ||
| ) | [inline] |
| void osgManipulator::TranslateInLineCommand::setTranslation | ( | const osg::Vec3 & | t | ) | [inline] |
| Generated at Thu Sep 27 2012 17:03:16 for the OpenSceneGraph by doxygen 1.7.6.1. |