AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
Inheritance:
Public Methods
-
AnimationPath()
-
bool getMatrix(double time, Matrix& matrix) const
- get the transformation matrix for a point in time
-
bool getInverse(double time, Matrix& matrix) const
- get the inverse transformation matrix for a point in time
-
virtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const
- get the local ControlPoint frame for a point in time
-
void insert(double time, const ControlPoint& ControlPoint)
-
double getFirstTime() const
-
double getLastTime() const
-
double getPeriod() const
-
void setLoopMode(LoopMode lm)
-
LoopMode getLoopMode() const
Public Members
-
struct ControlPoint
-
enum LoopMode
Protected Fields
-
LoopMode _loopMode
Protected Methods
-
virtual ~AnimationPath()
Protected Members
-
typedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap
Public Methods
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline const int referenceCount() const
Protected Fields
-
mutable 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.
AnimationPath()
struct ControlPoint
ControlPoint()
ControlPoint(const osg::Vec3& position)
ControlPoint(const osg::Vec3& position, const osg::Quat& rotation)
ControlPoint(const osg::Vec3& position, const osg::Quat& rotation, const osg::Vec3& scale)
osg::Vec3 _position
osg::Quat _rotation
osg::Vec3 _scale
inline void interpolate(const float ratio, const ControlPoint& first, const ControlPoint& second)
inline void getMatrix(Matrix& matrix) const
inline void getInverse(Matrix& matrix) const
bool getMatrix(double time, Matrix& matrix) const
- get the transformation matrix for a point in time
bool getInverse(double time, Matrix& matrix) const
- get the inverse transformation matrix for a point in time
virtual bool getInterpolatedControlPoint(double time, ControlPoint& ControlPoint) const
- get the local ControlPoint frame for a point in time
void insert(double time, const ControlPoint& ControlPoint)
double getFirstTime() const
double getLastTime() const
double getPeriod() const
enum LoopMode
SWING
LOOP
NO_LOOPING
void setLoopMode(LoopMode lm)
LoopMode getLoopMode() const
virtual ~AnimationPath()
typedef std::map<double,ControlPoint> TimeControlPointMap TimeControlPointMap _timeControlPointMap
LoopMode _loopMode
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.