15 template<
typename KeyType >
55 template<
typename KeyType >
64 template<
typename KeyType >
72 template<
typename KeyType >
78 template<
typename KeyType >
86 template<
typename KeyType >
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.
Definition: DiscreteInterpolator.h:73
Base class for interpolators.
Definition: IInterpolator.h:38
KeyType
Definition: all_0.js:13
DiscreteInterpolator()=default
Constructor for serialization.
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...
Definition: DiscreteInterpolator.h:87
~DiscreteInterpolator()=default
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...
Definition: DiscreteInterpolator.h:79
Animation key.
Definition: IInterpolator.h:21
virtual KeyType Interpolate(TimeType time, Key< KeyType > &left, Key< KeyType > &right) override
Interpolates value.
Definition: DiscreteInterpolator.h:65
double TimeType
Definition: TypesDefinitions.h:39
ValueType Value
Definition: Key.h:17
Definition: DiscreteInterpolator.h:16