#include <key.h>
Inheritance diagram for NL3D::CKeyBezier< T >:
Nevrax France
Definition at line 137 of file key.h.
Public Types | |
typedef T | TValueType |
synonym for T. | |
Public Member Functions | |
void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Serial. | |
Data Fields | |
float | OODeltaTime |
T | Value |
The key value. | |
Tangents. | |
T | InTan |
T | OutTan |
bool | Step |
|
synonym for T.
|
|
Serial.
Reimplemented from NL3D::CKey< T >. Definition at line 142 of file key.h. References NL3D::CKeyBezier< T >::InTan, NL3D::CKeyBezier< T >::OutTan, and NL3D::CKeyBezier< T >::Step.
00143 { 00144 // Version number 00145 (void)f.serialVersion (0); 00146 00147 // Serial the value 00148 f.serial (Value); 00149 f.serial (InTan); 00150 f.serial (OutTan); 00151 f.serial (Step); 00152 }; |
|
Those are NOT the true Bezier control points: they are tangents relative to Value, and relative to keyTime: CPIn= Value + InTan * dt0/3; and when not possible (first/last key), dt= getRangeDelta() is used. Definition at line 165 of file key.h. Referenced by NL3D::CTCBTools< CKeyTCBFloat, sint32, std::map< TAnimationTime, CKeyTCBFloat > >::computeTCBFactors(), and NL3D::CKeyBezier< T >::serial(). |
|
Definition at line 76 of file key.h. Referenced by NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::evalKey(), and NL3D::CTrackKeyFramerLinear< CKeyQuat, CQuat >::evalKey(). |
|
Those are NOT the true Bezier control points: they are tangents relative to Value, and relative to keyTime: CPIn= Value + InTan * dt0/3; and when not possible (first/last key), dt= getRangeDelta() is used. Definition at line 166 of file key.h. Referenced by NL3D::CTCBTools< CKeyTCBFloat, sint32, std::map< TAnimationTime, CKeyTCBFloat > >::computeTCBFactors(), and NL3D::CKeyBezier< T >::serial(). |
|
Those are NOT the true Bezier control points: they are tangents relative to Value, and relative to keyTime: CPIn= Value + InTan * dt0/3; and when not possible (first/last key), dt= getRangeDelta() is used. Definition at line 167 of file key.h. Referenced by NL3D::CTCBTools< CKeyTCBFloat, sint32, std::map< TAnimationTime, CKeyTCBFloat > >::computeTCBFactors(), and NL3D::CKeyBezier< T >::serial(). |
|
The key value.
Definition at line 69 of file key.h. Referenced by NL3D::CTCBTools< CKeyTCBFloat, sint32, std::map< TAnimationTime, CKeyTCBFloat > >::computeTCBFactors(), NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::evalKey(), and NL3D::CTrackKeyFramerLinear< CKeyQuat, CQuat >::evalKey(). |