class SG_EXPORT osg::AnimationPathCallback


Inheritance:


Public Fields

[more]ref_ptr<AnimationPath> _animationPath
[more]osg::Vec3d _pivotPoint
[more]bool _useInverseMatrix
[more]double _timeOffset
[more]double _timeMultiplier
[more]double _firstTime
[more]double _latestTime
[more]bool _pause
[more]double _pauseTime

Public Methods

[more] AnimationPathCallback()
[more] AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)
[more] META_Object(osg, AnimationPathCallback)
[more] AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)
[more]void setAnimationPath(AnimationPath* path)
[more]AnimationPath* getAnimationPath()
[more]const AnimationPath* getAnimationPath() const
[more]inline void setPivotPoint(const Vec3d& pivot)
[more]inline const Vec3d& getPivotPoint() const
[more]void setUseInverseMatrix(bool useInverseMatrix)
[more]bool getUseInverseMatrix() const
[more]void setTimeOffset(double offset)
[more]double getTimeOffset() const
[more]void setTimeMultiplier(double multiplier)
[more]double getTimeMultiplier() const
[more]void reset()
[more]void setPause(bool pause)
[more]double getAnimationTime() const
get the animation time that is used to specify the position along the AnimationPath.
[more]virtual void operator()(Node* node, NodeVisitor* nv)
implements the callback
[more]void update(osg::Node& node)

Protected Methods

[more] ~AnimationPathCallback()


Inherited from NodeCallback:

Public Fields

oref_ptr<NodeCallback> _nestedCallback

Public Methods

oMETA_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)
ovoid traverse(Node* node, NodeVisitor* nv)
ovoid setNestedCallback(NodeCallback* nc)
oNodeCallback* getNestedCallback()
oinline void addNestedCallback(NodeCallback* nc)
oinline void removeNestedCallback(NodeCallback* nc)


Inherited from Object:

Public Classes

oenum DataVariance

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

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const 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 OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

o AnimationPathCallback()

o AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)

o META_Object(osg, AnimationPathCallback)

o AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)

ovoid setAnimationPath(AnimationPath* path)

oAnimationPath* getAnimationPath()

oconst AnimationPath* getAnimationPath() const

oinline void setPivotPoint(const Vec3d& pivot)

oinline const Vec3d& getPivotPoint() const

ovoid setUseInverseMatrix(bool useInverseMatrix)

obool getUseInverseMatrix() const

ovoid setTimeOffset(double offset)

odouble getTimeOffset() const

ovoid setTimeMultiplier(double multiplier)

odouble getTimeMultiplier() const

ovoid reset()

ovoid setPause(bool pause)

odouble getAnimationTime() const
get the animation time that is used to specify the position along the AnimationPath. Animation time is computed from the formula ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier.

ovirtual void operator()(Node* node, NodeVisitor* nv)
implements the callback

ovoid update(osg::Node& node)

oref_ptr<AnimationPath> _animationPath

oosg::Vec3d _pivotPoint

obool _useInverseMatrix

odouble _timeOffset

odouble _timeMultiplier

odouble _firstTime

odouble _latestTime

obool _pause

odouble _pauseTime

o ~AnimationPathCallback()


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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