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]bool getMatrix(double time, Matrix& matrix) const
get the transformation matrix for a point in time
[more]bool getInverse(double time, Matrix& matrix) const
get the inverse transformation matrix for a point in time
[more]virtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const
get the local ControlPoint frame for a point in time
[more]void insert(double time, const ControlPoint& ControlPoint)
[more]double getFirstTime() const
[more]double getLastTime() const
[more]double getPeriod() const
[more]void setLoopMode(LoopMode lm)
[more]LoopMode getLoopMode() const

Public Members

[more]struct ControlPoint
[more]enum LoopMode

Protected Fields

[more]LoopMode _loopMode

Protected Methods

[more]virtual ~AnimationPath()

Protected Members

[more]typedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


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()

ostruct ControlPoint

o ControlPoint()

o ControlPoint(const osg::Vec3& position)

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

o ControlPoint(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 ControlPoint& first, const ControlPoint& second)

oinline void getMatrix(Matrix& matrix) const

oinline void getInverse(Matrix& matrix) const

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

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

ovirtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const
get the local ControlPoint frame for a point in time

ovoid insert(double time, const ControlPoint& ControlPoint)

odouble getFirstTime() const

odouble getLastTime() const

odouble getPeriod() const

oenum LoopMode

o SWING

o LOOP

o NO_LOOPING

ovoid setLoopMode(LoopMode lm)

oLoopMode getLoopMode() const

ovirtual ~AnimationPath()

otypedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap

oLoopMode _loopMode


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.