![]() |
OpenWalnut
1.5.0dev
|
This is an OSG Manipulator implementation which does nothing. More...
#include <WGENoOpManipulator.h>
Inheritance diagram for WGENoOpManipulator:
Collaboration diagram for WGENoOpManipulator:Public Types | |
| typedef osg::ref_ptr< WGENoOpManipulator > | SPtr |
| Convenience typedef for a std::shared_ptr< WGENoOpManipulator >. More... | |
| typedef osg::ref_ptr< const WGENoOpManipulator > | ConstSPtr |
| Convenience typedef for a std::shared_ptr< const WGENoOpManipulator >. More... | |
Public Member Functions | |
| WGENoOpManipulator () | |
| Default constructor. More... | |
| virtual | ~WGENoOpManipulator () |
| Destructor. More... | |
| virtual const char * | className () const |
| Return the name of the object's class type. More... | |
| virtual void | setByMatrix (const osg::Matrixd &matrix) |
| Set the position of the matrix manipulator using a 4x4 matrix. More... | |
| virtual void | setByInverseMatrix (const osg::Matrixd &matrix) |
| Set the position of the matrix manipulator using a 4x4 matrix. More... | |
| virtual osg::Matrixd | getMatrix () const |
| Get the position of the manipulator as 4x4 matrix. More... | |
| virtual osg::Matrixd | getInverseMatrix () const |
| Get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix. More... | |
| virtual void | home (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &us) |
| Move the camera to the default position. More... | |
| virtual void | init (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &us) |
| Start/restart the manipulator. More... | |
| virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
| Handle events. More... | |
This is an OSG Manipulator implementation which does nothing.
It is very useful for simple two-d views.
Definition at line 48 of file WGENoOpManipulator.h.
| typedef osg::ref_ptr< const WGENoOpManipulator > WGENoOpManipulator::ConstSPtr |
Convenience typedef for a std::shared_ptr< const WGENoOpManipulator >.
Definition at line 59 of file WGENoOpManipulator.h.
| typedef osg::ref_ptr< WGENoOpManipulator > WGENoOpManipulator::SPtr |
Convenience typedef for a std::shared_ptr< WGENoOpManipulator >.
Definition at line 54 of file WGENoOpManipulator.h.
| WGENoOpManipulator::WGENoOpManipulator | ( | ) |
Default constructor.
Definition at line 27 of file WGENoOpManipulator.cpp.
|
virtual |
Destructor.
Definition at line 33 of file WGENoOpManipulator.cpp.
|
virtual |
Return the name of the object's class type.
Definition at line 38 of file WGENoOpManipulator.cpp.
|
virtual |
Get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.
Definition at line 58 of file WGENoOpManipulator.cpp.
|
virtual |
Get the position of the manipulator as 4x4 matrix.
Definition at line 53 of file WGENoOpManipulator.cpp.
|
virtual |
Handle events.
| ea | event class for storing keyboard, mouse and window events |
| us | the action adapter used to request actions of the GUI |
Definition at line 73 of file WGENoOpManipulator.cpp.
|
virtual |
Move the camera to the default position.
| us | the action adapter used to request actions of the GUI |
Definition at line 63 of file WGENoOpManipulator.cpp.
|
virtual |
Start/restart the manipulator.
| us | the action adapter used to request actions of the GUI |
Definition at line 68 of file WGENoOpManipulator.cpp.
|
virtual |
Set the position of the matrix manipulator using a 4x4 matrix.
| matrix | a 4x4 matrix |
Definition at line 48 of file WGENoOpManipulator.cpp.
|
virtual |
Set the position of the matrix manipulator using a 4x4 matrix.
| matrix | a 4x4 matrix |
Definition at line 43 of file WGENoOpManipulator.cpp.