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
idInterpolateAccelDecelSine< type > Class Template Reference

#include <Interpolate.h>

Public Member Functions

 idInterpolateAccelDecelSine ()
 
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 idInterpolateAccelDecelSine< type >

Definition at line 279 of file Interpolate.h.

Constructor & Destructor Documentation

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

Definition at line 319 of file Interpolate.h.

Member Function Documentation

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

Definition at line 295 of file Interpolate.h.

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

Definition at line 412 of file Interpolate.h.

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

Definition at line 401 of file Interpolate.h.

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

Definition at line 296 of file Interpolate.h.

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

Definition at line 294 of file Interpolate.h.

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

Definition at line 293 of file Interpolate.h.

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

Definition at line 298 of file Interpolate.h.

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

Definition at line 292 of file Interpolate.h.

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

Definition at line 297 of file Interpolate.h.

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

Definition at line 331 of file Interpolate.h.

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

Definition at line 366 of file Interpolate.h.

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

Definition at line 290 of file Interpolate.h.

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

Definition at line 286 of file Interpolate.h.

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

Definition at line 376 of file Interpolate.h.

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

Definition at line 284 of file Interpolate.h.

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

Definition at line 285 of file Interpolate.h.

Member Data Documentation

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

Definition at line 302 of file Interpolate.h.

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

Definition at line 304 of file Interpolate.h.

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

Definition at line 306 of file Interpolate.h.

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

Definition at line 307 of file Interpolate.h.

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

Definition at line 303 of file Interpolate.h.

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

Definition at line 301 of file Interpolate.h.

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

Definition at line 305 of file Interpolate.h.


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