OpenWalnut
1.4.0
|
This is an OSG Manipulator implementation which does nothing. More...
#include <WGENoOpManipulator.h>
Public Types | |
typedef osg::ref_ptr < WGENoOpManipulator > | SPtr |
Convenience typedef for a boost::shared_ptr< WGENoOpManipulator >. | |
typedef osg::ref_ptr< const WGENoOpManipulator > | ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGENoOpManipulator >. | |
Public Member Functions | |
WGENoOpManipulator () | |
Default constructor. | |
virtual | ~WGENoOpManipulator () |
Destructor. | |
virtual const char * | className () const |
Return the name of the object's class type. | |
virtual void | setByMatrix (const osg::Matrixd &matrix) |
Set the position of the matrix manipulator using a 4x4 matrix. | |
virtual void | setByInverseMatrix (const osg::Matrixd &matrix) |
Set the position of the matrix manipulator using a 4x4 matrix. | |
virtual osg::Matrixd | getMatrix () const |
Get the position of the manipulator as 4x4 matrix. | |
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. | |
virtual void | home (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &us) |
Move the camera to the default position. | |
virtual void | init (const osgGA::GUIEventAdapter &, osgGA::GUIActionAdapter &us) |
Start/restart the manipulator. | |
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us) |
Handle events. |
This is an OSG Manipulator implementation which does nothing.
It is very useful for simple two-d views.
Definition at line 46 of file WGENoOpManipulator.h.
typedef osg::ref_ptr< const WGENoOpManipulator > WGENoOpManipulator::ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGENoOpManipulator >.
Definition at line 57 of file WGENoOpManipulator.h.
typedef osg::ref_ptr< WGENoOpManipulator > WGENoOpManipulator::SPtr |
Convenience typedef for a boost::shared_ptr< WGENoOpManipulator >.
Definition at line 52 of file WGENoOpManipulator.h.
Default constructor.
Definition at line 27 of file WGENoOpManipulator.cpp.
WGENoOpManipulator::~WGENoOpManipulator | ( | ) | [virtual] |
Destructor.
Definition at line 33 of file WGENoOpManipulator.cpp.
const char * WGENoOpManipulator::className | ( | ) | const [virtual] |
Return the name of the object's class type.
Definition at line 38 of file WGENoOpManipulator.cpp.
osg::Matrixd WGENoOpManipulator::getInverseMatrix | ( | ) | const [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.
osg::Matrixd WGENoOpManipulator::getMatrix | ( | ) | const [virtual] |
Get the position of the manipulator as 4x4 matrix.
Definition at line 53 of file WGENoOpManipulator.cpp.
bool WGENoOpManipulator::handle | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | us | ||
) | [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.
void WGENoOpManipulator::home | ( | const osgGA::GUIEventAdapter & | , |
osgGA::GUIActionAdapter & | us | ||
) | [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.
void WGENoOpManipulator::init | ( | const osgGA::GUIEventAdapter & | , |
osgGA::GUIActionAdapter & | us | ||
) | [virtual] |
Start/restart the manipulator.
us | the action adapter used to request actions of the GUI |
Definition at line 68 of file WGENoOpManipulator.cpp.
void WGENoOpManipulator::setByInverseMatrix | ( | const osg::Matrixd & | matrix | ) | [virtual] |
Set the position of the matrix manipulator using a 4x4 matrix.
matrix | a 4x4 matrix |
Definition at line 48 of file WGENoOpManipulator.cpp.
void WGENoOpManipulator::setByMatrix | ( | const osg::Matrixd & | matrix | ) | [virtual] |
Set the position of the matrix manipulator using a 4x4 matrix.
matrix | a 4x4 matrix |
Definition at line 43 of file WGENoOpManipulator.cpp.