doom3-gpl
Doom 3 GPL source release
|
#include <Curve.h>
Public Member Functions | |
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 type | GetCurrentValue (const float time) const |
virtual type | GetCurrentFirstDerivative (const float time) const |
virtual type | GetCurrentSecondDerivative (const float time) const |
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 |
type * | GetValueAddress (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 | |
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< float > | times |
idList< type > | values |
int | currentIndex |
bool | changed |
|
virtual |
Reimplemented in idCurve_NURBS< type >, idCurve_NURBS< idVec2 >, and idCurve_KochanekBartelsSpline< type >.
|
virtual |
Reimplemented in idCurve_NURBS< type >, idCurve_NURBS< idVec2 >, idCurve_NonUniformBSpline< type >, idCurve_NonUniformBSpline< idVec2 >, idCurve_UniformCubicBSpline< type >, idCurve_BSpline< type >, idCurve_BSpline< idVec2 >, idCurve_KochanekBartelsSpline< type >, idCurve_CatmullRomSpline< type >, idCurve_NaturalCubicSpline< type >, idCurve_CubicBezier< type >, idCurve_QuadraticBezier< type >, and idCurve_Bezier< type >.
|
virtual |
Reimplemented in idCurve_NURBS< type >, idCurve_NURBS< idVec2 >, idCurve_NonUniformBSpline< type >, idCurve_NonUniformBSpline< idVec2 >, idCurve_UniformCubicBSpline< type >, idCurve_BSpline< type >, idCurve_BSpline< idVec2 >, idCurve_KochanekBartelsSpline< type >, idCurve_CatmullRomSpline< type >, idCurve_NaturalCubicSpline< type >, idCurve_CubicBezier< type >, idCurve_QuadraticBezier< type >, and idCurve_Bezier< type >.
|
virtual |
Reimplemented in idCurve_NURBS< type >, idCurve_NURBS< idVec2 >, idCurve_NonUniformBSpline< type >, idCurve_NonUniformBSpline< idVec2 >, idCurve_UniformCubicBSpline< type >, idCurve_BSpline< type >, idCurve_BSpline< idVec2 >, idCurve_KochanekBartelsSpline< type >, idCurve_CatmullRomSpline< type >, idCurve_NaturalCubicSpline< type >, idCurve_CubicBezier< type >, idCurve_QuadraticBezier< type >, and idCurve_Bezier< type >.
Reimplemented in idCurve_Spline< type >, idCurve_Spline< idVec2 >, idCurve_Spline< idVec3 >, and idCurve_Spline< idVec4 >.
Reimplemented in idCurve_NURBS< type >, idCurve_NURBS< idVec2 >, and idCurve_KochanekBartelsSpline< type >.