Cosinus interpolator.
More...
#include <CosinusInterpolator.h>
|
| CosinusInterpolator ()=default |
|
| CosinusInterpolator (const Key< KeyType > &leftKey, const Key< KeyType > &rightKey, UPtr< const IInterpolator< KeyType > > &leftInterpolator, UPtr< const IInterpolator< KeyType > > &rightInterpolator) |
| Constructor for default interpolator creation function. More...
|
|
| ~CosinusInterpolator ()=default |
|
virtual KeyType | Interpolate (TimeType time, Key< KeyType > &left, Key< KeyType > &right) override |
| 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) override |
| Function updates interpolator, when left or right key value changes. More...
|
|
virtual KeyType | LeftTangent (const Key< KeyType > &left, const Key< KeyType > &right) const override |
| 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 override |
| Returns curve tangent. Function can be used by surrounding interpolators to smooth curve. More...
|
|
| IInterpolator ()=default |
|
virtual | ~IInterpolator ()=default |
|
template<typename KeyType>
class CosinusInterpolator< KeyType >
Cosinus interpolator.
template<typename KeyType >
template<typename KeyType >
Constructor for default interpolator creation function.
template<typename KeyType >
template<typename KeyType >
template<typename KeyType >
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve.
Implements IInterpolator< KeyType >.
template<typename KeyType >
Returns curve tangent. Function can be used by surrounding interpolators to smooth curve.
Implements IInterpolator< KeyType >.
template<typename KeyType >
Function updates interpolator, when left or right key value changes.
- Note
- Left or right interpolator can be nullptr, but keys always exist.
Implements IInterpolator< KeyType >.
The documentation for this class was generated from the following file: