Sleeping Wombat GUI
0.100
swGUI
|
Temporary interpolator for internal use. More...
#include <IInterpolator.h>
Public Member Functions | |
virtual KeyType | Interpolate (TimeType time, Key< KeyType > &left, Key< KeyType > &right) |
Main function invoked by evaluator. More... | |
virtual void | Update (const Key< KeyType > &leftKey, const Key< KeyType > &rightKey, UPtr< const IInterpolator< KeyType > > &leftInterpolator, UPtr< const IInterpolator< KeyType > > &rightInterpolator) |
Function updates interpolator, when left or right key value changes. More... | |
virtual KeyType | LeftTangent (const Key< KeyType > &left, const Key< KeyType > &right) const |
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve. More... | |
virtual KeyType | RightTangent (const Key< KeyType > &left, const Key< KeyType > &right) const |
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve. More... | |
Public Member Functions inherited from IInterpolator< KeyType > | |
IInterpolator ()=default | |
virtual | ~IInterpolator ()=default |
Temporary interpolator for internal use.
|
inlinevirtual |
Main function invoked by evaluator.
Implements IInterpolator< KeyType >.
|
inlinevirtual |
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve.
Implements IInterpolator< KeyType >.
|
inlinevirtual |
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve.
Implements IInterpolator< KeyType >.
|
inlinevirtual |
Function updates interpolator, when left or right key value changes.
Implements IInterpolator< KeyType >.