Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::AnimationPath Class Reference

AnimationPath for specify the time varying transformation pathway to use when update camera and model objects. More...

Inheritance diagram for osg::AnimationPath:

Inheritance graph
[legend]
List of all members.

Public Types

enum  LoopMode { SWING, LOOP, NO_LOOPING }

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

Protected Types

typedef std::map< double,
ControlPoint
TimeControlPointMap

Protected Methods

virtual ~AnimationPath ()

Protected Attributes

TimeControlPointMap _timeControlPointMap
LoopMode _loopMode

Detailed Description

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.


Member Typedef Documentation

typedef std::map<double,ControlPoint> osg::AnimationPath::TimeControlPointMap [protected]
 


Member Enumeration Documentation

enum osg::AnimationPath::LoopMode
 

Enumeration values:
SWING 
LOOP 
NO_LOOPING 


Constructor & Destructor Documentation

osg::AnimationPath::AnimationPath   [inline]
 

virtual osg::AnimationPath::~AnimationPath   [inline, protected, virtual]
 


Member Function Documentation

double osg::AnimationPath::getFirstTime   const [inline]
 

virtual bool osg::AnimationPath::getInterpolatedControlPoint double    time,
ControlPoint   ControlPoint
const [virtual]
 

get the local ControlPoint frame for a point in time.

bool osg::AnimationPath::getInverse double    time,
Matrix   matrix
const [inline]
 

get the inverse transformation matrix for a point in time.

double osg::AnimationPath::getLastTime   const [inline]
 

LoopMode osg::AnimationPath::getLoopMode   const [inline]
 

bool osg::AnimationPath::getMatrix double    time,
Matrix   matrix
const [inline]
 

get the transformation matrix for a point in time.

double osg::AnimationPath::getPeriod   const [inline]
 

void osg::AnimationPath::insert double    time,
const ControlPoint   ControlPoint
 

void osg::AnimationPath::setLoopMode LoopMode    lm [inline]
 


Member Data Documentation

LoopMode osg::AnimationPath::_loopMode [protected]
 

TimeControlPointMap osg::AnimationPath::_timeControlPointMap [protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:25 2002 for the Open Scene Graph by doxygen 1.2.16.