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] AnimationPath(const AnimationPath& ap, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more] META_Object(osg, 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 Object:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object*) const
ovirtual const char* libraryName() const
ovirtual const char* className() const
oinline void setDataVariance(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() 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()

o AnimationPath(const AnimationPath& ap, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

o META_Object(osg, 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++.