openscenegraph
|
osgGA::AnimationPathManipulator::AnimationPathManipulator | ( | osg::AnimationPath * | animationPath = 0 | ) |
osgGA::AnimationPathManipulator::AnimationPathManipulator | ( | const std::string & | filename | ) |
virtual const char* osgGA::AnimationPathManipulator::className | ( | ) | const [inline, virtual] |
return the name of the object's class type. Must be defined by derived classes.
Reimplemented from osgGA::CameraManipulator.
AnimationCompletedCallback* osgGA::AnimationPathManipulator::getAnimationCompletedCallback | ( | ) | [inline] |
const AnimationCompletedCallback* osgGA::AnimationPathManipulator::getAnimationCompletedCallback | ( | ) | const [inline] |
const osg::AnimationPath* osgGA::AnimationPathManipulator::getAnimationPath | ( | ) | const [inline] |
virtual osg::Matrixd osgGA::AnimationPathManipulator::getInverseMatrix | ( | ) | const [inline, virtual] |
get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix.
Implements osgGA::CameraManipulator.
References osg::Matrixd::inverse().
virtual osg::Matrixd osgGA::AnimationPathManipulator::getMatrix | ( | ) | const [inline, virtual] |
get the position of the manipulator as 4x4 Matrix.
Implements osgGA::CameraManipulator.
bool osgGA::AnimationPathManipulator::getPrintOutTimingInfo | ( | ) | const [inline] |
double osgGA::AnimationPathManipulator::getTimeOffset | ( | ) | const [inline] |
double osgGA::AnimationPathManipulator::getTimeScale | ( | ) | const [inline] |
virtual void osgGA::AnimationPathManipulator::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [virtual] |
Get the keyboard and mouse usage of this manipulator.
Reimplemented from osgGA::GUIEventHandler.
virtual bool osgGA::AnimationPathManipulator::handle | ( | const GUIEventAdapter & | ea, |
GUIActionAdapter & | us | ||
) | [virtual] |
Handle events, return true if handled, false otherwise.
Reimplemented from osgGA::CameraManipulator.
void osgGA::AnimationPathManipulator::handleFrame | ( | double | time | ) | [protected] |
void osgGA::AnimationPathManipulator::home | ( | const GUIEventAdapter & | , |
GUIActionAdapter & | |||
) | [virtual] |
Move the camera to the default position. May be ignored by manipulators if home functionality is not appropriate.
Reimplemented from osgGA::CameraManipulator.
void osgGA::AnimationPathManipulator::home | ( | double | ) | [virtual] |
Move the camera to the default position. This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.
Reimplemented from osgGA::CameraManipulator.
void osgGA::AnimationPathManipulator::init | ( | const GUIEventAdapter & | , |
GUIActionAdapter & | |||
) | [virtual] |
Start/restart the manipulator. FIXME: what does this actually mean? Provide examples.
Reimplemented from osgGA::CameraManipulator.
void osgGA::AnimationPathManipulator::setAnimationCompletedCallback | ( | AnimationCompletedCallback * | acc | ) | [inline] |
void osgGA::AnimationPathManipulator::setAnimationPath | ( | osg::AnimationPath * | animationPath | ) | [inline] |
virtual void osgGA::AnimationPathManipulator::setByInverseMatrix | ( | const osg::Matrixd & | matrix | ) | [inline, virtual] |
set the position of the matrix manipulator using a 4x4 Matrix.
Implements osgGA::CameraManipulator.
virtual void osgGA::AnimationPathManipulator::setByMatrix | ( | const osg::Matrixd & | matrix | ) | [inline, virtual] |
set the position of the matrix manipulator using a 4x4 Matrix.
Implements osgGA::CameraManipulator.
void osgGA::AnimationPathManipulator::setPrintOutTimingInfo | ( | bool | printOutTimingInfo | ) | [inline] |
void osgGA::AnimationPathManipulator::setTimeOffset | ( | double | o | ) | [inline] |
void osgGA::AnimationPathManipulator::setTimeScale | ( | double | s | ) | [inline] |
bool osgGA::AnimationPathManipulator::valid | ( | ) | const [inline] |
osg::ref_ptr<AnimationCompletedCallback> osgGA::AnimationPathManipulator::_animationCompletedCallback [protected] |
double osgGA::AnimationPathManipulator::_animStartOfTimedPeriod [protected] |
bool osgGA::AnimationPathManipulator::_isPaused [protected] |
osg::Matrixd osgGA::AnimationPathManipulator::_matrix [protected] |
double osgGA::AnimationPathManipulator::_pauseTime [protected] |
bool osgGA::AnimationPathManipulator::_printOutTimingInfo [protected] |
double osgGA::AnimationPathManipulator::_realStartOfTimedPeriod [protected] |
double osgGA::AnimationPathManipulator::_timeOffset [protected] |
double osgGA::AnimationPathManipulator::_timeScale [protected] |
bool osgGA::AnimationPathManipulator::_valid [protected] |