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

#include <Interpolate.h>

Public Member Functions

 idInterpolateAccelDecelLinear ()
 
void Init (const float startTime, const float accelTime, const float decelTime, const float duration, const type &startValue, const type &endValue)
 
void SetStartTime (float time)
 
void SetStartValue (const type &startValue)
 
void SetEndValue (const type &endValue)
 
type GetCurrentValue (float time) const
 
type GetCurrentSpeed (float time) const
 
bool IsDone (float time) const
 
float GetStartTime (void) const
 
float GetEndTime (void) const
 
float GetDuration (void) const
 
float GetAcceleration (void) const
 
float GetDeceleration (void) const
 
const typeGetStartValue (void) const
 
const typeGetEndValue (void) const
 

Private Member Functions

void Invalidate (void)
 
void SetPhase (float time) const
 

Private Attributes

float startTime
 
float accelTime
 
float linearTime
 
float decelTime
 
type startValue
 
type endValue
 
idExtrapolate< typeextrapolate
 

Detailed Description

template<class type>
class idInterpolateAccelDecelLinear< type >

Definition at line 130 of file Interpolate.h.

Constructor & Destructor Documentation

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

Definition at line 170 of file Interpolate.h.

Member Function Documentation

template<class type>
float idInterpolateAccelDecelLinear< type >::GetAcceleration ( void  ) const
inline

Definition at line 146 of file Interpolate.h.

template<class type >
ID_INLINE type idInterpolateAccelDecelLinear< type >::GetCurrentSpeed ( float  time) const

Definition at line 263 of file Interpolate.h.

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

Definition at line 252 of file Interpolate.h.

template<class type>
float idInterpolateAccelDecelLinear< type >::GetDeceleration ( void  ) const
inline

Definition at line 147 of file Interpolate.h.

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

Definition at line 145 of file Interpolate.h.

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

Definition at line 144 of file Interpolate.h.

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

Definition at line 149 of file Interpolate.h.

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

Definition at line 143 of file Interpolate.h.

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

Definition at line 148 of file Interpolate.h.

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

Definition at line 182 of file Interpolate.h.

template<class type >
ID_INLINE void idInterpolateAccelDecelLinear< type >::Invalidate ( void  )
private

Definition at line 217 of file Interpolate.h.

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

Definition at line 141 of file Interpolate.h.

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

Definition at line 137 of file Interpolate.h.

template<class type >
ID_INLINE void idInterpolateAccelDecelLinear< type >::SetPhase ( float  time) const
private

Definition at line 227 of file Interpolate.h.

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

Definition at line 135 of file Interpolate.h.

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

Definition at line 136 of file Interpolate.h.

Member Data Documentation

template<class type>
float idInterpolateAccelDecelLinear< type >::accelTime
private

Definition at line 153 of file Interpolate.h.

template<class type>
float idInterpolateAccelDecelLinear< type >::decelTime
private

Definition at line 155 of file Interpolate.h.

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

Definition at line 157 of file Interpolate.h.

template<class type>
idExtrapolate<type> idInterpolateAccelDecelLinear< type >::extrapolate
mutableprivate

Definition at line 158 of file Interpolate.h.

template<class type>
float idInterpolateAccelDecelLinear< type >::linearTime
private

Definition at line 154 of file Interpolate.h.

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

Definition at line 152 of file Interpolate.h.

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

Definition at line 156 of file Interpolate.h.


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