openscenegraph
|
#include <Command>
Public Types | |
enum | Stage { NONE , START , MOVE , FINISH } |
Protected Member Functions | |
virtual | ~MotionCommand () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Base class for motion commands that are generated by draggers.
osgManipulator::MotionCommand::MotionCommand | ( | ) |
|
protectedvirtual |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
create a MotionCommand that is the inverse of this command, and if applied will undo this commands changes.
Implemented in osgManipulator::TranslateInLineCommand, osgManipulator::TranslateInPlaneCommand, osgManipulator::Scale1DCommand, osgManipulator::Scale2DCommand, osgManipulator::ScaleUniformCommand, and osgManipulator::Rotate3DCommand.
|
inline |
Gets the matrix for transforming the command's local coordinate system to the world/object coordinate system.
|
pure virtual |
Gets the matrix for transforming the object being dragged. This matrix is in the command's coordinate systems.
Implemented in osgManipulator::TranslateInLineCommand, osgManipulator::TranslateInPlaneCommand, osgManipulator::Scale1DCommand, osgManipulator::Scale2DCommand, osgManipulator::ScaleUniformCommand, and osgManipulator::Rotate3DCommand.
|
inline |
|
inline |
Gets the matrix for transforming the command's world/object coordinate system to the command's local coordinate system.
|
inline |
Sets the matrix for transforming the command's local coordinate system to the world/object coordinate system.
|
inline |