doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idInterpolate< type > Class Template Reference

#include <Interpolate.h>

Public Member Functions

 idInterpolate ()
 
void Init (const float startTime, const float duration, const type &startValue, const type &endValue)
 
void SetStartTime (float time)
 
void SetDuration (float duration)
 
void SetStartValue (const type &startValue)
 
void SetEndValue (const type &endValue)
 
type GetCurrentValue (float time) const
 
bool IsDone (float time) const
 
float GetStartTime (void) const
 
float GetEndTime (void) const
 
float GetDuration (void) const
 
const typeGetStartValue (void) const
 
const typeGetEndValue (void) const
 

Private Attributes

float startTime
 
float duration
 
type startValue
 
type endValue
 
float currentTime
 
type currentValue
 

Detailed Description

template<class type>
class idInterpolate< type >

Definition at line 41 of file Interpolate.h.

Constructor & Destructor Documentation

template<class type >
ID_INLINE idInterpolate< type >::idInterpolate ( )

Definition at line 75 of file Interpolate.h.

Member Function Documentation

template<class type >
ID_INLINE type idInterpolate< type >::GetCurrentValue ( float  time) const

Definition at line 102 of file Interpolate.h.

template<class type>
float idInterpolate< type >::GetDuration ( void  ) const
inline

Definition at line 56 of file Interpolate.h.

template<class type>
float idInterpolate< type >::GetEndTime ( void  ) const
inline

Definition at line 55 of file Interpolate.h.

template<class type>
const type& idInterpolate< type >::GetEndValue ( void  ) const
inline

Definition at line 58 of file Interpolate.h.

template<class type>
float idInterpolate< type >::GetStartTime ( void  ) const
inline

Definition at line 54 of file Interpolate.h.

template<class type>
const type& idInterpolate< type >::GetStartValue ( void  ) const
inline

Definition at line 57 of file Interpolate.h.

template<class type>
ID_INLINE void idInterpolate< type >::Init ( const float  startTime,
const float  duration,
const type startValue,
const type endValue 
)

Definition at line 87 of file Interpolate.h.

template<class type>
bool idInterpolate< type >::IsDone ( float  time) const
inline

Definition at line 52 of file Interpolate.h.

template<class type>
void idInterpolate< type >::SetDuration ( float  duration)
inline

Definition at line 47 of file Interpolate.h.

template<class type>
void idInterpolate< type >::SetEndValue ( const type endValue)
inline

Definition at line 49 of file Interpolate.h.

template<class type>
void idInterpolate< type >::SetStartTime ( float  time)
inline

Definition at line 46 of file Interpolate.h.

template<class type>
void idInterpolate< type >::SetStartValue ( const type startValue)
inline

Definition at line 48 of file Interpolate.h.

Member Data Documentation

template<class type>
float idInterpolate< type >::currentTime
mutableprivate

Definition at line 65 of file Interpolate.h.

template<class type>
type idInterpolate< type >::currentValue
mutableprivate

Definition at line 66 of file Interpolate.h.

template<class type>
float idInterpolate< type >::duration
private

Definition at line 62 of file Interpolate.h.

template<class type>
type idInterpolate< type >::endValue
private

Definition at line 64 of file Interpolate.h.

template<class type>
float idInterpolate< type >::startTime
private

Definition at line 61 of file Interpolate.h.

template<class type>
type idInterpolate< type >::startValue
private

Definition at line 63 of file Interpolate.h.


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