Public Member Functions | |
Interpolator () | |
virtual | ~Interpolator () |
void | start () |
void | stop () |
virtual void | update (float deltaTime)=0 |
void | addInterpolatee (Interpolatee *interpolatee) |
void | removeInterpolatee (Interpolatee *interpolatee) |
Protected Member Functions | |
float | clamp (float val, float min, float max) |
Protected Attributes | |
bool | isRunning |
std::vector< Interpolatee * > | interpolateeList |
|
Creates an interpolator that interpolates the given value. |
|
Destructor. |
|
Start interpolating. |
|
Stop interpolating. This does not reset the timer. |
|
Update the interpolator value.
Implemented in ui::util::TimeBasedInterpolator. |
|
Register an interpolatee to this interpolator, which will be interpolated according to the interpolator type. |
|
Remove an interpolatee from this interpolator. |
|
Clamp a value between min and max values.
|
|
Indicates if this Interpolator is running. |