CatmullRom

Engine/source/util/catmullRom.h

The catmull-rom template class for performing interpolation over an arbitraty type.

More...

Protected Attributes

TYPE *

The sample points.

Public Functions

Clean out all the data.

initialize(U32 count, const TYPE * positions, const F32 * times)

Initialization.

Find length of curve segment between parameters u1 and u2.

Evaluate derivative at parameter t.

Private Functions

The copy constructors are disabled.

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)