Public Member Functions | |
| ScaleUniformCommand () | |
| virtual bool | execute () |
| Execute the command. | |
| virtual bool | unexecute () |
| Undo the command. | |
| virtual void | applyConstraint (const Constraint *) |
| Apply a constraint to the command. | |
| void | setScale (double s) |
| double | getScale () const |
| void | setScaleCenter (const osg::Vec3d ¢er) |
| const osg::Vec3d & | getScaleCenter () const |
| virtual osg::Matrix | getMotionMatrix () const |
| Gets the matrix for transforming the Selection. | |
Protected Member Functions | |
| virtual | ~ScaleUniformCommand () |
| osgManipulator::ScaleUniformCommand::ScaleUniformCommand | ( | ) |
| virtual osgManipulator::ScaleUniformCommand::~ScaleUniformCommand | ( | ) | [protected, virtual] |
| virtual void osgManipulator::ScaleUniformCommand::applyConstraint | ( | const Constraint * | ) | [virtual] |
| virtual bool osgManipulator::ScaleUniformCommand::execute | ( | ) | [virtual] |
| virtual osg::Matrix osgManipulator::ScaleUniformCommand::getMotionMatrix | ( | ) | const [inline, virtual] |
Gets the matrix for transforming the Selection.
This matrix is in the command's coordinate systems.
Implements osgManipulator::MotionCommand.
References osg::Matrixd::scale(), and osg::Matrixd::translate().
| double osgManipulator::ScaleUniformCommand::getScale | ( | ) | const [inline] |
| const osg::Vec3d& osgManipulator::ScaleUniformCommand::getScaleCenter | ( | ) | const [inline] |
| void osgManipulator::ScaleUniformCommand::setScale | ( | double | s | ) | [inline] |
| void osgManipulator::ScaleUniformCommand::setScaleCenter | ( | const osg::Vec3d & | center | ) | [inline] |
| virtual bool osgManipulator::ScaleUniformCommand::unexecute | ( | ) | [virtual] |
Undo the command.
The inverse of this command is executed.
Implements osgManipulator::MotionCommand.
| Generated at Sat May 14 08:21:20 2011 for the OpenSceneGraph by doxygen 1.5.9. |