NL3D::CKey< T > Class Template Reference

#include <key.h>

Inheritance diagram for NL3D::CKey< T >:

NL3D::CKeyBezier< T > NL3D::CKeyBezier< NLMISC::CQuat > NL3D::CKeyTCB< T > NL3D::CKeyTCB< NLMISC::CAngleAxis >

Detailed Description

template<class T>
class NL3D::CKey< T >

Interface for a key of a keyframer.

Author:
Cyril 'Hulud' Corvazier

Nevrax France

Date:
2001

Definition at line 50 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
Value
 The key value.


Member Typedef Documentation

template<class T>
typedef T NL3D::CKey< T >::TValueType
 

synonym for T.

Definition at line 54 of file key.h.


Member Function Documentation

template<class T>
void NL3D::CKey< T >::serial NLMISC::IStream f  )  throw (NLMISC::EStream) [inline]
 

Serial.

Reimplemented in NL3D::CKeyTCB< T >, NL3D::CKeyBezier< T >, NL3D::CKeyTCB< NLMISC::CAngleAxis >, and NL3D::CKeyBezier< NLMISC::CQuat >.

Definition at line 59 of file key.h.

00060         {
00061                 // Version number
00062                 (void)f.serialVersion (0);
00063 
00064                 // Serial the value
00065                 f.serial (Value);
00066         };


Field Documentation

template<class T>
float NL3D::CKey< T >::OODeltaTime
 

Definition at line 76 of file key.h.

Referenced by NL3D::CTrackKeyFramerLinear< CKeyRGBA, NLMISC::CRGBA >::evalKey(), and NL3D::CTrackKeyFramerLinear< CKeyQuat, CQuat >::evalKey().

template<class T>
T NL3D::CKey< T >::Value
 

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().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 06:48:05 2004 for NeL by doxygen 1.3.6