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

ani::KeyFramer< _keyType > Class Template Reference

#include <KeyFramer.h>

List of all members.

Public Methods

 KeyFramer ()
void play ()
void rplay ()
void pause ()
void rewind ()
void fastforward ()
void stop ()
void clear ()
void step (float timeOfKey)
void setSpeed (float factor=1.0f)
void setLoops (int numTimesToLoop=1)
void addkey (const _keyType &key)
std::map< float, _keyType > & keys ()
const std::map< float, _keyType > & keys () const
float begintime () const
float endtime () const
float length ()
bool isPlaying ()
float speed () const
int loops ()
int loopsLeft ()
const _keyType & key () const
const gmtl::Quatf & rotation () const
const gmtl::Vec3f & position () const
const float & time () const
void jump (float seekToTime)

template<class _keyType>
class ani::KeyFramer< _keyType >


Constructor & Destructor Documentation

template<class _keyType>
ani::KeyFramer< _keyType >::KeyFramer   [inline]
 

Definition at line 66 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::clear(), and ani::KeyFramer< _keyType >::stop().


Member Function Documentation

template<class _keyType>
void ani::KeyFramer< _keyType >::play   [inline]
 

Definition at line 76 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::rplay   [inline]
 

Definition at line 85 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::pause   [inline]
 

Definition at line 92 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::rewind   [inline]
 

Definition at line 98 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::begintime().

Referenced by ani::KeyFramer< _keyType >::step().

template<class _keyType>
void ani::KeyFramer< _keyType >::fastforward   [inline]
 

Definition at line 105 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::length().

Referenced by ani::KeyFramer< _keyType >::step().

template<class _keyType>
void ani::KeyFramer< _keyType >::stop   [inline]
 

Definition at line 112 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::begintime().

Referenced by ani::KeyFramer< _keyType >::KeyFramer(), and ani::KeyFramer< _keyType >::step().

template<class _keyType>
void ani::KeyFramer< _keyType >::clear   [inline]
 

Definition at line 120 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::begintime().

Referenced by ani::KeyFramerImporter::execute(), ani::KeyFramer< _keyType >::KeyFramer(), and smooth().

template<class _keyType>
void ani::KeyFramer< _keyType >::step float    timeOfKey [inline]
 

Definition at line 134 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::fastforward(), ani::KeyFramer< _keyType >::jump(), ani::KeyFramer< _keyType >::length(), ani::KeyFramer< _keyType >::rewind(), and ani::KeyFramer< _keyType >::stop().

template<class _keyType>
void ani::KeyFramer< _keyType >::setSpeed float    factor = 1.0f [inline]
 

Definition at line 179 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::setLoops int    numTimesToLoop = 1 [inline]
 

Definition at line 190 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::addkey const _keyType &    key [inline]
 

Definition at line 197 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::key().

Referenced by ani::KeyFramerImporter::execute(), and smooth().

template<class _keyType>
std::map<float, _keyType>& ani::KeyFramer< _keyType >::keys   [inline]
 

Definition at line 206 of file KeyFramer.h.

Referenced by ani::KeyFramerExporter::execute(), getTotalDist(), and smooth().

template<class _keyType>
const std::map<float, _keyType>& ani::KeyFramer< _keyType >::keys   const [inline]
 

Definition at line 210 of file KeyFramer.h.

template<class _keyType>
float ani::KeyFramer< _keyType >::begintime   const [inline]
 

Definition at line 213 of file KeyFramer.h.

Referenced by ani::KeyFramer< _keyType >::clear(), ani::KeyFramer< _keyType >::length(), ani::KeyFramer< _keyType >::rewind(), and ani::KeyFramer< _keyType >::stop().

template<class _keyType>
float ani::KeyFramer< _keyType >::endtime   const [inline]
 

Definition at line 219 of file KeyFramer.h.

Referenced by ani::KeyFramer< _keyType >::length().

template<class _keyType>
float ani::KeyFramer< _keyType >::length   [inline]
 

Definition at line 225 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::begintime(), and ani::KeyFramer< _keyType >::endtime().

Referenced by ani::KeyFramer< _keyType >::fastforward(), ani::KeyFramer< _keyType >::jump(), and ani::KeyFramer< _keyType >::step().

template<class _keyType>
bool ani::KeyFramer< _keyType >::isPlaying   [inline]
 

Definition at line 233 of file KeyFramer.h.

template<class _keyType>
float ani::KeyFramer< _keyType >::speed   const [inline]
 

Definition at line 239 of file KeyFramer.h.

template<class _keyType>
int ani::KeyFramer< _keyType >::loops   [inline]
 

Definition at line 246 of file KeyFramer.h.

template<class _keyType>
int ani::KeyFramer< _keyType >::loopsLeft   [inline]
 

Definition at line 250 of file KeyFramer.h.

template<class _keyType>
const _keyType& ani::KeyFramer< _keyType >::key   const [inline]
 

Definition at line 253 of file KeyFramer.h.

Referenced by ani::KeyFramer< _keyType >::addkey().

template<class _keyType>
const gmtl::Quatf& ani::KeyFramer< _keyType >::rotation   const [inline]
 

Definition at line 256 of file KeyFramer.h.

template<class _keyType>
const gmtl::Vec3f& ani::KeyFramer< _keyType >::position   const [inline]
 

Definition at line 259 of file KeyFramer.h.

template<class _keyType>
const float& ani::KeyFramer< _keyType >::time   const [inline]
 

Definition at line 262 of file KeyFramer.h.

template<class _keyType>
void ani::KeyFramer< _keyType >::jump float    seekToTime [inline]
 

Definition at line 281 of file KeyFramer.h.

References ani::KeyFramer< _keyType >::length().

Referenced by ani::KeyFramer< _keyType >::step().


The documentation for this class was generated from the following file:
Generated on Wed Jun 12 01:54:08 2002 for Animaniac by doxygen1.2.15