CatmullRom
Engine/source/util/catmullRom.h
The catmull-rom template class for performing interpolation over an arbitraty type.
Protected Attributes
TYPE *
The sample points.
Public Functions
acceleration(F32 t)
getPosition(U32 idx)
segmentArcLength(U32 i, F32 u1, F32 u2)
Find length of curve segment between parameters u1 and u2.
Private Functions
CatmullRom(const CatmullRom & other)
The copy constructors are disabled.
operator=(const CatmullRom & other)
Detailed Description
The catmull-rom template class for performing interpolation over an arbitraty type.
Protected Attributes
TYPE * mPositions
The sample points.
Public Functions
CatmullRom()
~CatmullRom()
acceleration(F32 t)
clear()
Reimplemented from: CatmullRomBase
evaluate(F32 t)
getPosition(U32 idx)
initialize(U32 count, const TYPE * positions, const F32 * times)
Initialization.
segmentArcLength(U32 i, F32 u1, F32 u2)
Reimplemented from: CatmullRomBase
velocity(F32 t)
Evaluate derivative at parameter t.
Private Functions
CatmullRom(const CatmullRom & other)
The copy constructors are disabled.
operator=(const CatmullRom & other)