afxAnimCurve

Engine/source/afx/util/afxAnimCurve.h

More...

Classes:

Private Static Functions

Public Functions

addKey(F32 time, F32 value)
getKeyTime(int index)
getKeyValue(int index)
int
printKey(int index)
setKeyTime(int index, F32 t)
setKeyValue(int index, F32 v)

Private Functions

computeTangentK0(Point2F & k0, Point2F & k1, int start_index)
computeTangentK1(Point2F & k0, Point2F & k1, int end_index)

Detailed Description

Private Attributes

afxCurveEval * evaluator 
F32 final_time 
F32 final_value 
Vector< Key > keys 
F32 start_time 
F32 start_value 
bool usable 

Private Static Functions

compare_Key(const void * a, const void * b)

Public Functions

afxAnimCurve()

~afxAnimCurve()

addKey(F32 time, F32 value)

addKey(Point2F & v)

evaluate(F32 time)

getKeyTime(int index)

getKeyValue(int index)

getSegment(F32 time)

numKeys()

print()

printKey(int index)

setKeyTime(int index, F32 t)

setKeyValue(int index, F32 v)

sort()

Private Functions

computeTangentK0(Point2F & k0, Point2F & k1, int start_index)

computeTangentK1(Point2F & k0, Point2F & k1, int end_index)