# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

CTrackKeyFramerTCB Class Template Reference

ITrack implementation for TCB keyframer. More...

#include <track_tcb.h>

Inheritance diagram for CTrackKeyFramerTCB:

CTCBTools< CKeyT, T, std::map< TAnimationTime, CKeyT > > List of all members.

Public Methods

virtual const IAnimatedValue & getValue () const
 From ITrack. More...


Protected Types

typedef CKeyT::TValueType TKeyValueType

Protected Methods

From ITrackKeyFramer
virtual void evalKey (const CKeyT *previous, const CKeyT *next, TAnimationTime datePrevious, TAnimationTime dateNext, TAnimationTime date)
 evalKey (runtime). More...

virtual void compile ()
 compile (precalc). More...


Private Methods

void computeTCBKey (CKeyT &keyBefore, CKeyT &key, CKeyT &keyAfter, float timeBefore, float time, float timeAfter, float rangeDelta, bool firstKey, bool endKey, bool isLoop)
void computeTCBKeyLinear (CKeyT &key0, CKeyT &key1)
void computeFirstKey (CKeyT &keyFirst, CKeyT &keyAfter)
void computeLastKey (CKeyT &keyLast, CKeyT &keyBefore)

Private Attributes

CAnimatedValueBlendable< T > _Value

Detailed Description

template<class CKeyT, class T>
class CTrackKeyFramerTCB< CKeyT, T >

ITrack implementation for TCB keyframer.

Author:
Cyril 'Hulud' Corvazier , Nevrax France
Date:
2001

Definition at line 201 of file track_tcb.h.


Member Typedef Documentation

template<class CKeyT, class T>
typedef CKeyT::TValueType CTrackKeyFramerTCB::TKeyValueType [protected]
 

Definition at line 214 of file track_tcb.h.

Referenced by computeTCBKey, and computeTCBKeyLinear.


Member Function Documentation

template<class CKeyT, class T>
virtual void CTrackKeyFramerTCB< CKeyT, T >::compile   [inline, protected, virtual]
 

compile (precalc).

Definition at line 252 of file track_tcb.h.

References CTCBTools< CKeyT, T, std::map< TAnimationTime, CKeyT > >::compileTCBEase, computeFirstKey, computeLastKey, computeTCBKey, and computeTCBKeyLinear.

template<class CKeyT, class T>
void CTrackKeyFramerTCB< CKeyT, T >::computeFirstKey CKeyT &    keyFirst,
CKeyT &    keyAfter
[inline, private]
 

Definition at line 358 of file track_tcb.h.

Referenced by compile.

template<class CKeyT, class T>
void CTrackKeyFramerTCB< CKeyT, T >::computeLastKey CKeyT &    keyLast,
CKeyT &    keyBefore
[inline, private]
 

Definition at line 366 of file track_tcb.h.

Referenced by compile.

template<class CKeyT, class T>
void CTrackKeyFramerTCB< CKeyT, T >::computeTCBKey CKeyT &    keyBefore,
CKeyT &    key,
CKeyT &    keyAfter,
float    timeBefore,
float    time,
float    timeAfter,
float    rangeDelta,
bool    firstKey,
bool    endKey,
bool    isLoop
[inline, private]
 

Definition at line 325 of file track_tcb.h.

References CTCBTools< CKeyT, T, std::map< TAnimationTime, CKeyT > >::computeTCBFactors, and TKeyValueType.

Referenced by CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::compile, and compile.

template<class CKeyT, class T>
void CTrackKeyFramerTCB< CKeyT, T >::computeTCBKeyLinear CKeyT &    key0,
CKeyT &    key1
[inline, private]
 

Definition at line 345 of file track_tcb.h.

References TKeyValueType.

Referenced by compile.

template<class CKeyT, class T>
virtual void CTrackKeyFramerTCB< CKeyT, T >::evalKey const CKeyT *    previous,
const CKeyT *    next,
TAnimationTime    datePrevious,
TAnimationTime    dateNext,
TAnimationTime    date
[inline, protected, virtual]
 

evalKey (runtime).

Definition at line 222 of file track_tcb.h.

References _Value, NLMISC::clamp, CTCBTools< CKeyT, T, std::map< TAnimationTime, CKeyT > >::computeHermiteBasis, CTCBTools< CKeyT, T, std::map< TAnimationTime, CKeyT > >::ease, and NL3D::TAnimationTime.

template<class CKeyT, class T>
virtual const IAnimatedValue& CTrackKeyFramerTCB< CKeyT, T >::getValue   const [inline, virtual]
 

From ITrack.

Definition at line 206 of file track_tcb.h.

References _Value.


Member Data Documentation

template<class CKeyT, class T>
CAnimatedValueBlendable<T> CTrackKeyFramerTCB::_Value [private]
 

Definition at line 321 of file track_tcb.h.

Referenced by CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::evalKey, evalKey, CTrackKeyFramerTCB< CKeyTCBQuat, NLMISC::CAngleAxis >::getValue, and getValue.


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