AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
Inheritance:
Public Methods
-
AnimationPath()
-
virtual bool getMatrix(double time, Matrix& matrix) const
- get the local transformation matrix for a point in time
-
virtual bool getInverse(double time, Matrix& matrix) const
- get the local inverse transformation matrix for a point in time
-
virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
- Get the transformation matrix which moves from local coords to world coords
-
virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
- Get the transformation matrix which moves from world coords to local coords
-
void insert(double time, const Key& key)
Public Members
-
struct Key
Protected Methods
-
virtual ~AnimationPath()
Protected Members
-
typedef std::map<double,Key> TimeKeyMap TimeKeyMap _timeKeyMap
Documentation
AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
Subclassed from Transform::ComputeTransformCallback allows AnimationPath to
be attached directly to Transform nodes to move subgraphs around the scene.
AnimationPath()
virtual bool getMatrix(double time, Matrix& matrix) const
- get the local transformation matrix for a point in time
virtual bool getInverse(double time, Matrix& matrix) const
- get the local inverse transformation matrix for a point in time
virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
- Get the transformation matrix which moves from local coords to world coords
virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
- Get the transformation matrix which moves from world coords to local coords
struct Key
Key()
Key(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale)
osg::Vec3 _position
osg::Quat _rotation
osg::Vec3 _scale
inline void interpolate(const float ratio, const Key& first, const Key& second)
inline void getMatrix(Matrix& matrix) const
inline void getInverse(Matrix& matrix) const
void insert(double time, const Key& key)
virtual ~AnimationPath()
typedef std::map<double,Key> TimeKeyMap TimeKeyMap _timeKeyMap
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.