class SG_EXPORT osg::AnimationPath

AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.

Inheritance:


Public Methods

[more] AnimationPath()
[more]virtual bool getMatrix(double time, Matrix& matrix) const
get the local transformation matrix for a point in time
[more]virtual bool getInverse(double time, Matrix& matrix) const
get the local inverse transformation matrix for a point in time
[more]virtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords
[more]virtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords
[more]void insert(double time, const Key& key)

Public Members

[more]struct Key

Protected Methods

[more]virtual ~AnimationPath()

Protected Members

[more]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.
o AnimationPath()

ovirtual bool getMatrix(double time, Matrix& matrix) const
get the local transformation matrix for a point in time

ovirtual bool getInverse(double time, Matrix& matrix) const
get the local inverse transformation matrix for a point in time

ovirtual const bool computeLocalToWorldMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from local coords to world coords

ovirtual const bool computeWorldToLocalMatrix(Matrix& matrix, const Transform* transform, NodeVisitor* nv) const
Get the transformation matrix which moves from world coords to local coords

ostruct Key

o Key()

o Key(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale)

oosg::Vec3 _position

oosg::Quat _rotation

oosg::Vec3 _scale

oinline void interpolate(const float ratio, const Key& first, const Key& second)

oinline void getMatrix(Matrix& matrix) const

oinline void getInverse(Matrix& matrix) const

ovoid insert(double time, const Key& key)

ovirtual ~AnimationPath()

otypedef 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++.