OpenSceneGraph 2.8.4
|
Public Types | |
typedef std::vector < osg::ref_ptr < osg::CameraView > > | CameraViewList |
Public Member Functions | |
CameraViewSwitchManipulator () | |
virtual const char * | className () const |
return the name of the object's class type. | |
virtual void | setByMatrix (const osg::Matrixd &) |
set the position of the matrix manipulator using a 4x4 Matrix. | |
virtual void | setByInverseMatrix (const osg::Matrixd &) |
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 | setNode (osg::Node *) |
Attach a node to the manipulator. | |
virtual const osg::Node * | getNode () const |
Return node if attached. | |
virtual osg::Node * | getNode () |
Return node if attached. | |
virtual void | init (const GUIEventAdapter &, GUIActionAdapter &) |
Start/restart the manipulator. | |
virtual bool | handle (const GUIEventAdapter &ea, GUIActionAdapter &us) |
handle events, return true if handled, false otherwise. | |
virtual void | getUsage (osg::ApplicationUsage &usage) const |
Get the keyboard and mouse usage of this manipulator. | |
Protected Member Functions | |
virtual | ~CameraViewSwitchManipulator () |
Protected Attributes | |
osg::ref_ptr< osg::Node > | _node |
CameraViewList | _cameraViews |
unsigned int | _currentView |
typedef std::vector< osg::ref_ptr<osg::CameraView> > osgGA::CameraViewSwitchManipulator::CameraViewList |
osgGA::CameraViewSwitchManipulator::CameraViewSwitchManipulator | ( | ) | [inline] |
virtual osgGA::CameraViewSwitchManipulator::~CameraViewSwitchManipulator | ( | ) | [inline, protected, virtual] |
virtual const char* osgGA::CameraViewSwitchManipulator::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osgGA::MatrixManipulator.
virtual osg::Matrixd osgGA::CameraViewSwitchManipulator::getInverseMatrix | ( | ) | const [virtual] |
get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.
Implements osgGA::MatrixManipulator.
virtual osg::Matrixd osgGA::CameraViewSwitchManipulator::getMatrix | ( | ) | const [virtual] |
get the position of the manipulator as 4x4 Matrix.
Implements osgGA::MatrixManipulator.
virtual osg::Node* osgGA::CameraViewSwitchManipulator::getNode | ( | ) | [inline, virtual] |
Return node if attached.
Reimplemented from osgGA::MatrixManipulator.
virtual const osg::Node* osgGA::CameraViewSwitchManipulator::getNode | ( | ) | const [inline, virtual] |
Return node if attached.
Reimplemented from osgGA::MatrixManipulator.
virtual void osgGA::CameraViewSwitchManipulator::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [virtual] |
Get the keyboard and mouse usage of this manipulator.
Reimplemented from osgGA::GUIEventHandler.
virtual bool osgGA::CameraViewSwitchManipulator::handle | ( | const GUIEventAdapter & | ea, |
GUIActionAdapter & | us | ||
) | [virtual] |
handle events, return true if handled, false otherwise.
Reimplemented from osgGA::MatrixManipulator.
virtual void osgGA::CameraViewSwitchManipulator::init | ( | const GUIEventAdapter & | , |
GUIActionAdapter & | |||
) | [inline, virtual] |
Start/restart the manipulator.
Reimplemented from osgGA::MatrixManipulator.
virtual void osgGA::CameraViewSwitchManipulator::setByInverseMatrix | ( | const osg::Matrixd & | ) | [inline, virtual] |
set the position of the matrix manipulator using a 4x4 Matrix.
Implements osgGA::MatrixManipulator.
virtual void osgGA::CameraViewSwitchManipulator::setByMatrix | ( | const osg::Matrixd & | ) | [inline, virtual] |
set the position of the matrix manipulator using a 4x4 Matrix.
Implements osgGA::MatrixManipulator.
virtual void osgGA::CameraViewSwitchManipulator::setNode | ( | osg::Node * | ) | [virtual] |
Attach a node to the manipulator.
Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model.
Reimplemented from osgGA::MatrixManipulator.
unsigned int osgGA::CameraViewSwitchManipulator::_currentView [protected] |
![]() | Generated at Sun Jan 8 2012 13:16:33 for the OpenSceneGraph by doxygen 1.7.4. |