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 | Protected Attributes | List of all members
idCurve_KochanekBartelsSpline< type > Class Template Reference

#include <Curve.h>

Inheritance diagram for idCurve_KochanekBartelsSpline< type >:
idCurve_Spline< type > idCurve< type >

Public Member Functions

 idCurve_KochanekBartelsSpline (void)
 
virtual int AddValue (const float time, const type &value)
 
virtual int AddValue (const float time, const type &value, const float tension, const float continuity, const float bias)
 
virtual void RemoveIndex (const int index)
 
virtual void Clear (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_Spline< type >
 idCurve_Spline (void)
 
virtual bool IsDone (const float time) const
 
virtual void SetBoundaryType (const boundary_t bt)
 
virtual boundary_t GetBoundaryType (void) const
 
virtual void SetCloseTime (const float t)
 
virtual float GetCloseTime (void)
 
- Public Member Functions inherited from idCurve< type >
 idCurve (void)
 
virtual ~idCurve (void)
 
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 TangentsForIndex (const int index, type &t0, type &t1) const
 
void Basis (const int index, const float t, float *bvals) const
 
void BasisFirstDerivative (const int index, const float t, float *bvals) const
 
void BasisSecondDerivative (const int index, const float t, float *bvals) const
 
- Protected Member Functions inherited from idCurve_Spline< type >
type ValueForIndex (const int index) const
 
float TimeForIndex (const int index) const
 
float ClampedTime (const float t) 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
 

Protected Attributes

idList< floattension
 
idList< floatcontinuity
 
idList< floatbias
 
- Protected Attributes inherited from idCurve_Spline< type >
boundary_t boundaryType
 
float closeTime
 
- Protected Attributes inherited from idCurve< type >
idList< floattimes
 
idList< typevalues
 
int currentIndex
 
bool changed
 

Additional Inherited Members

- Public Types inherited from idCurve_Spline< type >
enum  boundary_t { BT_FREE, BT_CLAMPED, BT_CLOSED }
 

Detailed Description

template<class type>
class idCurve_KochanekBartelsSpline< type >

Definition at line 1538 of file Curve.h.

Constructor & Destructor Documentation

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

Definition at line 1570 of file Curve.h.

Member Function Documentation

template<class type >
ID_INLINE int idCurve_KochanekBartelsSpline< type >::AddValue ( const float  time,
const type value 
)
virtual

Reimplemented from idCurve< type >.

Definition at line 1582 of file Curve.h.

template<class type >
ID_INLINE int idCurve_KochanekBartelsSpline< type >::AddValue ( const float  time,
const type value,
const float  tension,
const float  continuity,
const float  bias 
)
virtual

Definition at line 1603 of file Curve.h.

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

Definition at line 1747 of file Curve.h.

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

Definition at line 1763 of file Curve.h.

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

Definition at line 1779 of file Curve.h.

template<class type >
virtual void idCurve_KochanekBartelsSpline< type >::Clear ( void  )
inlinevirtual

Reimplemented from idCurve< type >.

Definition at line 1546 of file Curve.h.

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

Reimplemented from idCurve< type >.

Definition at line 1651 of file Curve.h.

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

Reimplemented from idCurve< type >.

Definition at line 1680 of file Curve.h.

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

Reimplemented from idCurve< type >.

Definition at line 1623 of file Curve.h.

template<class type >
virtual void idCurve_KochanekBartelsSpline< type >::RemoveIndex ( const int  index)
inlinevirtual

Reimplemented from idCurve< type >.

Definition at line 1545 of file Curve.h.

template<class type >
ID_INLINE void idCurve_KochanekBartelsSpline< type >::TangentsForIndex ( const int  index,
type t0,
type t1 
) const
protected

Definition at line 1707 of file Curve.h.

Member Data Documentation

template<class type >
idList<float> idCurve_KochanekBartelsSpline< type >::bias
protected

Definition at line 1555 of file Curve.h.

template<class type >
idList<float> idCurve_KochanekBartelsSpline< type >::continuity
protected

Definition at line 1554 of file Curve.h.

template<class type >
idList<float> idCurve_KochanekBartelsSpline< type >::tension
protected

Definition at line 1553 of file Curve.h.


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