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
[more]TimeControlPointMap& getTimeControlPointMap()
[more]const TimeControlPointMap& getTimeControlPointMap() const

Public Members

[more]struct ControlPoint
[more]enum LoopMode
[more]typedef std::map<double,ControlPoint> TimeControlPointMap

Protected Fields

[more]TimeControlPointMap _timeControlPointMap
[more]LoopMode _loopMode

Protected Methods

[more]virtual ~AnimationPath()


Inherited from Referenced:

Public Methods

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

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


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

otypedef std::map<double,ControlPoint> TimeControlPointMap

oTimeControlPointMap& getTimeControlPointMap()

oconst TimeControlPointMap& getTimeControlPointMap() const

ovirtual ~AnimationPath()

oTimeControlPointMap _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++.