# 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  

CTCBTools Class Template Reference

TCB Track tools (for both normal TCB, and quat TCB). More...

#include <track_tcb.h>

List of all members.

Protected Types

typedef TMapTimeCKey::iterator TMapTimeCKeyIterator

Protected Methods

void compileTCBEase (TMapTimeCKey &mapKey, bool loopMode)
 compute TCB ease information. More...

float ease (const CKeyT *key, float d)
void computeHermiteBasis (float d, float hb[4])
void computeTCBFactors (const CKeyT &key, float timeBefore, float time, float timeAfter, float rangeDelta, bool firstKey, bool endKey, bool isLoop, float &ksm, float &ksp, float &kdm, float &kdp)


Detailed Description

template<class CKeyT, class T, class TMapTimeCKey>
class CTCBTools< CKeyT, T, TMapTimeCKey >

TCB Track tools (for both normal TCB, and quat TCB).

internal use.

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

Definition at line 47 of file track_tcb.h.


Member Typedef Documentation

template<class CKeyT, class T, class TMapTimeCKey>
typedef TMapTimeCKey::iterator CTCBTools::TMapTimeCKeyIterator [protected]
 

Definition at line 50 of file track_tcb.h.

Referenced by CTCBTools< CKeyTCBQuat, NLMISC::CAngleAxis, std::map< TAnimationTime, CKeyTCBQuat > >::compileTCBEase.


Member Function Documentation

template<class CKeyT, class T, class TMapTimeCKey>
void CTCBTools< CKeyT, T, TMapTimeCKey >::compileTCBEase TMapTimeCKey &    mapKey,
bool    loopMode
[inline, protected]
 

compute TCB ease information.

Definition at line 55 of file track_tcb.h.

template<class CKeyT, class T, class TMapTimeCKey>
void CTCBTools< CKeyT, T, TMapTimeCKey >::computeHermiteBasis float    d,
float    hb[4]
[inline, protected]
 

Definition at line 120 of file track_tcb.h.

template<class CKeyT, class T, class TMapTimeCKey>
void CTCBTools< CKeyT, T, TMapTimeCKey >::computeTCBFactors const CKeyT &    key,
float    timeBefore,
float    time,
float    timeAfter,
float    rangeDelta,
bool    firstKey,
bool    endKey,
bool    isLoop,
float &    ksm,
float &    ksp,
float &    kdm,
float &    kdp
[inline, protected]
 

Definition at line 135 of file track_tcb.h.

template<class CKeyT, class T, class TMapTimeCKey>
float CTCBTools< CKeyT, T, TMapTimeCKey >::ease const CKeyT *    key,
float    d
[inline, protected]
 

Definition at line 102 of file track_tcb.h.


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