GlsAnimation Library
1.0.5
Provides classes and functions to support animating GL Studio objects programmatically or with script files
|
An abstract base class for all keyframe interpolators. More...
#include <gls_keyframe.h>
Public Types | |
typedef stdortr1::shared_ptr< GlsKeyframeInterpolator > | Ptr |
Alias for easier reading. | |
typedef stdortr1::shared_ptr< const GlsKeyframeInterpolator > | PtrConst |
Alias for easier reading. | |
typedef GlsKeyframeCurveBase::Key | Key |
Alias for easier reading. | |
typedef T | Value |
Alias for easier reading. | |
typedef Detail::FloatSelector< Value >::Type | Float |
Alias for easier reading. | |
Public Member Functions | |
virtual | ~GlsKeyframeInterpolator () |
Destructor. | |
virtual Value | operator() (const Key &key, const Key &lowerKey, const Key &upperKey, const Value &lowerValue, const Value &upperValue) const =0 |
An abstract base class for all keyframe interpolators.
|
pure virtual |
The interpolation function
key | The current key value. |
lowerKey | The key from a list of keyframes less than or equal to the key. |
upperKey | The key from a list of keyframes greater than or equal to the key. |
lowerValue | The value associated with the lower key. |
upperValue | The value associated with the upper key. |
Implemented in disti::GlsColorInterpolationAdapter.