Sirikata
|
Base class for MotionPaths. More...
#include <MotionPath.hpp>
Public Member Functions | |
virtual | ~MotionPath () |
virtual const TimedMotionVector3f | initial () const =0 |
The initial motion vector for the object. | |
virtual const TimedMotionVector3f * | nextUpdate (const Time &curtime) const =0 |
Given a current time, return the next update that will occur. | |
virtual const TimedMotionVector3f | at (const Time &t) const =0 |
Get the value at the specified time. |
Base class for MotionPaths.
All motion paths must implement one method that allows random access into the update list, given the next update that will occur after a specified time.
virtual Sirikata::MotionPath::~MotionPath | ( | ) | [inline, virtual] |
virtual const TimedMotionVector3f Sirikata::MotionPath::at | ( | const Time & | t | ) | const [pure virtual] |
Get the value at the specified time.
virtual const TimedMotionVector3f Sirikata::MotionPath::initial | ( | ) | const [pure virtual] |
The initial motion vector for the object.
virtual const TimedMotionVector3f* Sirikata::MotionPath::nextUpdate | ( | const Time & | curtime | ) | const [pure virtual] |
Given a current time, return the next update that will occur.
Returns NULL if there is not another update.