Inheritance:
Public Fields
-
ref_ptr<AnimationPath> _animationPath
-
osg::Vec3d _pivotPoint
-
bool _useInverseMatrix
-
double _timeOffset
-
double _timeMultiplier
-
double _firstTime
-
double _latestTime
-
bool _pause
-
double _pauseTime
Public Methods
-
AnimationPathCallback()
-
AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)
-
META_Object(osg, AnimationPathCallback)
-
AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)
-
void setAnimationPath(AnimationPath* path)
-
AnimationPath* getAnimationPath()
-
const AnimationPath* getAnimationPath() const
-
inline void setPivotPoint(const Vec3d& pivot)
-
inline const Vec3d& getPivotPoint() const
-
void setUseInverseMatrix(bool useInverseMatrix)
-
bool getUseInverseMatrix() const
-
void setTimeOffset(double offset)
-
double getTimeOffset() const
-
void setTimeMultiplier(double multiplier)
-
double getTimeMultiplier() const
-
void reset()
-
void setPause(bool pause)
-
double getAnimationTime() const
- get the animation time that is used to specify the position along the AnimationPath.
-
virtual void operator()(Node* node, NodeVisitor* nv)
- implements the callback
-
void update(osg::Node& node)
Protected Methods
-
~AnimationPathCallback()
Public Fields
-
ref_ptr<NodeCallback> _nestedCallback
Public Methods
-
META_Object(osg, NodeCallback) ()(Node* node, NodeVisitor* nv)
-
void traverse(Node* node, NodeVisitor* nv)
-
void setNestedCallback(NodeCallback* nc)
-
NodeCallback* getNestedCallback()
-
inline void addNestedCallback(NodeCallback* nc)
-
inline void removeNestedCallback(NodeCallback* nc)
Inherited from Object:
Public Classes
-
enum DataVariance
Public Methods
-
virtual Object* cloneType() const
-
virtual Object* clone(const CopyOp&) const
-
virtual bool isSameKindAs(const Object*) const
-
virtual const char* libraryName() const
-
virtual const char* className() const
-
inline void setDataVariance(DataVariance dv)
-
inline DataVariance getDataVariance() const
-
inline void setUserData(Referenced* obj)
-
inline Referenced* getUserData()
-
inline const Referenced* getUserData() const
Protected Fields
-
DataVariance _dataVariance
-
ref_ptr<Referenced> _userData
Public Methods
-
inline Referenced& operator = (const Referenced&)
-
static void setDeleteHandler(DeleteHandler* handler)
-
static DeleteHandler* getDeleteHandler()
-
inline void ref() const
-
inline void unref_nodelete() const
-
inline int referenceCount() const
-
inline void unref() const
Protected Fields
-
mutable OpenThreads::Mutex _refMutex
-
mutable int _refCount
Documentation
- AnimationPathCallback()
- AnimationPathCallback(const AnimationPathCallback& apc, const CopyOp& copyop)
- META_Object(osg, AnimationPathCallback)
- AnimationPathCallback(AnimationPath* ap, double timeOffset=0.0f, double timeMultiplier=1.0f)
- void setAnimationPath(AnimationPath* path)
- AnimationPath* getAnimationPath()
- const AnimationPath* getAnimationPath() const
- inline void setPivotPoint(const Vec3d& pivot)
- inline const Vec3d& getPivotPoint() const
- void setUseInverseMatrix(bool useInverseMatrix)
- bool getUseInverseMatrix() const
- void setTimeOffset(double offset)
- double getTimeOffset() const
- void setTimeMultiplier(double multiplier)
- double getTimeMultiplier() const
- void reset()
- void setPause(bool pause)
- double 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.
- virtual void operator()(Node* node, NodeVisitor* nv)
- implements the callback
- void update(osg::Node& node)
- ref_ptr<AnimationPath> _animationPath
- osg::Vec3d _pivotPoint
- bool _useInverseMatrix
- double _timeOffset
- double _timeMultiplier
- double _firstTime
- double _latestTime
- bool _pause
- double _pauseTime
- ~AnimationPathCallback()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.