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

#include <Curve.h>

Inheritance diagram for idCurve_QuadraticBezier< type >:
idCurve< type >

Public Member Functions

 idCurve_QuadraticBezier (void)
 
virtual type GetCurrentValue (const float time) const
 
virtual type GetCurrentFirstDerivative (const float time) const
 
virtual type GetCurrentSecondDerivative (const float time) const
 
- Public Member Functions inherited from idCurve< type >
 idCurve (void)
 
virtual ~idCurve (void)
 
virtual int AddValue (const float time, const type &value)
 
virtual void RemoveIndex (const int index)
 
virtual void Clear (void)
 
virtual bool IsDone (const float time) const
 
int GetNumValues (void) const
 
void SetValue (const int index, const type &value)
 
type GetValue (const int index) const
 
typeGetValueAddress (const int index)
 
float GetTime (const int index) const
 
float GetLengthForTime (const float time) const
 
float GetTimeForLength (const float length, const float epsilon=0.1f) const
 
float GetLengthBetweenKnots (const int i0, const int i1) const
 
void MakeUniform (const float totalTime)
 
void SetConstantSpeed (const float totalTime)
 
void ShiftTime (const float deltaTime)
 
void Translate (const type &translation)
 

Protected Member Functions

void Basis (const float t, float *bvals) const
 
void BasisFirstDerivative (const float t, float *bvals) const
 
void BasisSecondDerivative (const float t, float *bvals) const
 
- Protected Member Functions inherited from idCurve< type >
int IndexForTime (const float time) const
 
float TimeForIndex (const int index) const
 
type ValueForIndex (const int index) const
 
float GetSpeed (const float time) const
 
float RombergIntegral (const float t0, const float t1, const int order) const
 

Additional Inherited Members

- Protected Attributes inherited from idCurve< type >
idList< floattimes
 
idList< typevalues
 
int currentIndex
 
bool changed
 

Detailed Description

template<class type>
class idCurve_QuadraticBezier< type >

Definition at line 668 of file Curve.h.

Constructor & Destructor Documentation

template<class type >
ID_INLINE idCurve_QuadraticBezier< type >::idCurve_QuadraticBezier ( void  )

Definition at line 689 of file Curve.h.

Member Function Documentation

template<class type >
ID_INLINE void idCurve_QuadraticBezier< type >::Basis ( const float  t,
float bvals 
) const
protected

Definition at line 748 of file Curve.h.

template<class type >
ID_INLINE void idCurve_QuadraticBezier< type >::BasisFirstDerivative ( const float  t,
float bvals 
) const
protected

Definition at line 764 of file Curve.h.

template<class type >
ID_INLINE void idCurve_QuadraticBezier< type >::BasisSecondDerivative ( const float  t,
float bvals 
) const
protected

Definition at line 779 of file Curve.h.

template<class type >
ID_INLINE type idCurve_QuadraticBezier< type >::GetCurrentFirstDerivative ( const float  time) const
virtual

Reimplemented from idCurve< type >.

Definition at line 716 of file Curve.h.

template<class type >
ID_INLINE type idCurve_QuadraticBezier< type >::GetCurrentSecondDerivative ( const float  time) const
virtual

Reimplemented from idCurve< type >.

Definition at line 732 of file Curve.h.

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

Reimplemented from idCurve< type >.

Definition at line 701 of file Curve.h.


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