Sirikata
Public Member Functions
Sirikata::MotionPath Class Reference

Base class for MotionPaths. More...

#include <MotionPath.hpp>

List of all members.

Public Member Functions

virtual ~MotionPath ()
virtual const TimedMotionVector3f initial () const =0
 The initial motion vector for the object.
virtual const TimedMotionVector3fnextUpdate (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.

Detailed Description

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.


Constructor & Destructor Documentation

virtual Sirikata::MotionPath::~MotionPath ( ) [inline, virtual]

Member Function Documentation

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.


The documentation for this class was generated from the following file: