NL3D::UTrackKeyframer Class Reference

#include <u_track.h>

Inheritance diagram for NL3D::UTrackKeyframer:

NL3D::ITrackKeyFramer< CKeyT > NL3D::ITrackKeyFramer< CKeyBezierFloat > NL3D::ITrackKeyFramer< CKeyBezierQuat > NL3D::ITrackKeyFramer< CKeyBezierVector > NL3D::ITrackKeyFramer< CKeyBool > NL3D::ITrackKeyFramer< CKeyFloat > NL3D::ITrackKeyFramer< CKeyInt > NL3D::ITrackKeyFramer< CKeyQuat > NL3D::ITrackKeyFramer< CKeyRGBA > NL3D::ITrackKeyFramer< CKeyString > NL3D::ITrackKeyFramer< CKeyTCBFloat > NL3D::ITrackKeyFramer< CKeyTCBQuat > NL3D::ITrackKeyFramer< CKeyTCBVector > NL3D::ITrackKeyFramer< CKeyVector >

Detailed Description

This is a keyframer track interface. Once you've got a track, you can know wether its a keyframer track by using a dynamic_cast

Definition at line 173 of file u_track.h.

Public Member Functions

virtual bool addBezierFloatKey (const UKeyBezierFloat &key)
 Fail if not A Float Bezier Keyframer.

virtual bool addLinearFloatKey (const UKeyLinearFloat &key)
 Fail if not A Float Linear Keyframer.

virtual bool addTCBFloatKey (const UKeyTCBFloat &key)
 Fail if not A Float TCB Keyframer.

virtual void getKeysInRange (TAnimationTime t1, TAnimationTime t2, std::vector< TAnimationTime > &result)=0
 UTrackKeyframer ()
virtual ~UTrackKeyframer ()

Static Public Member Functions

UTrackKeyframercreateBezierFloatTrack ()
UTrackKeyframercreateLinearFloatTrack ()
UTrackKeyframercreateTCBFloatTrack ()


Constructor & Destructor Documentation

NL3D::UTrackKeyframer::UTrackKeyframer  )  [inline]
 

Definition at line 204 of file u_track.h.

00204 {}

virtual NL3D::UTrackKeyframer::~UTrackKeyframer  )  [inline, virtual]
 

Definition at line 205 of file u_track.h.

00205 {}


Member Function Documentation

virtual bool NL3D::UTrackKeyframer::addBezierFloatKey const UKeyBezierFloat key  )  [inline, virtual]
 

Fail if not A Float Bezier Keyframer.

Reimplemented in NL3D::CTrackKeyFramerBezierFloat.

Definition at line 220 of file u_track.h.

00220 {return false;}

virtual bool NL3D::UTrackKeyframer::addLinearFloatKey const UKeyLinearFloat key  )  [inline, virtual]
 

Fail if not A Float Linear Keyframer.

Reimplemented in NL3D::CTrackKeyFramerLinearFloat.

Definition at line 218 of file u_track.h.

00218 {return false;}

virtual bool NL3D::UTrackKeyframer::addTCBFloatKey const UKeyTCBFloat key  )  [inline, virtual]
 

Fail if not A Float TCB Keyframer.

Reimplemented in NL3D::CTrackKeyFramerTCBFloat.

Definition at line 222 of file u_track.h.

00222 {return false;}

UTrackKeyframer * NL3D::UTrackKeyframer::createBezierFloatTrack  )  [static]
 

Definition at line 87 of file track_keyframer.cpp.

00088 {
00089         return new CTrackKeyFramerBezierFloat;
00090 }

UTrackKeyframer * NL3D::UTrackKeyframer::createLinearFloatTrack  )  [static]
 

Definition at line 83 of file track_keyframer.cpp.

00084 {
00085         return new CTrackKeyFramerLinearFloat;
00086 }

UTrackKeyframer * NL3D::UTrackKeyframer::createTCBFloatTrack  )  [static]
 

Definition at line 91 of file track_keyframer.cpp.

00092 {
00093         return new CTrackKeyFramerTCBFloat;
00094 }

virtual void NL3D::UTrackKeyframer::getKeysInRange TAnimationTime  t1,
TAnimationTime  t2,
std::vector< TAnimationTime > &  result
[pure virtual]
 

Retrieve the keys that are in the given range ]t1, t2] of the track. They can then be evaluated

Parameters:
result a vector that will be cleared, and filled with the date ofthe keys

Implemented in NL3D::ITrackKeyFramer< CKeyT >, NL3D::ITrackKeyFramer< CKeyBezierVector >, NL3D::ITrackKeyFramer< CKeyTCBVector >, NL3D::ITrackKeyFramer< CKeyVector >, NL3D::ITrackKeyFramer< CKeyTCBQuat >, NL3D::ITrackKeyFramer< CKeyRGBA >, NL3D::ITrackKeyFramer< CKeyInt >, NL3D::ITrackKeyFramer< CKeyBool >, NL3D::ITrackKeyFramer< CKeyFloat >, NL3D::ITrackKeyFramer< CKeyQuat >, NL3D::ITrackKeyFramer< CKeyBezierFloat >, NL3D::ITrackKeyFramer< CKeyTCBFloat >, NL3D::ITrackKeyFramer< CKeyString >, and NL3D::ITrackKeyFramer< CKeyBezierQuat >.


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:52:28 2004 for NeL by doxygen 1.3.6