|
virtual LinearInterpolation< Key, Result > * | clone () const override |
|
virtual std::string | getName () const override |
|
virtual std::string_view | getClassIdentifier () const override |
|
virtual bool | equal (const Interpolation &other) const override |
|
virtual void | serialize (Serializer &s) const override |
|
virtual void | deserialize (Deserializer &d) override |
|
virtual void | operator() (const std::vector< std::unique_ptr< Key > > &keys, Seconds from, Seconds to, easing::EasingType easing, Result &out) const override |
|
virtual void | operator() (const std::vector< std::unique_ptr< Key > > &keys, Seconds from, Seconds to, easing::EasingType easing, typename Key::value_type &out) const=0 |
|
template<typename Key, typename Result = typename Key::value_type>
class inviwo::animation::LinearInterpolation< Key, Result >
Linear interpolation function for key frames. Perfoms linear interpolation between two neighboring key frames.