Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::LinearInterpolation< Key, Result > Class Template Reference

#include <linearinterpolation.h>

+ Inheritance diagram for inviwo::animation::LinearInterpolation< Key, Result >:

Public Member Functions

virtual LinearInterpolation< Key, Result > * clone () const override
 
virtual std::string getName () const override
 
virtual std::string 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
 
- Public Member Functions inherited from inviwo::animation::InterpolationTyped< Key, typename Key::value_type >
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
 
- Public Member Functions inherited from inviwo::animation::Interpolation
- Public Member Functions inherited from inviwo::Serializable

Static Public Member Functions

static std::string classIdentifier ()
 

Additional Inherited Members

- Public Types inherited from inviwo::animation::InterpolationTyped< Key, typename Key::value_type >
using key_type
 
using result_type
 

Detailed Description

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.

Member Function Documentation

◆ clone()

template<typename Key , typename Result >
LinearInterpolation< Key, Result > * inviwo::animation::LinearInterpolation< Key, Result >::clone ( ) const
overridevirtual

◆ deserialize()

template<typename Key , typename Result >
void inviwo::animation::LinearInterpolation< Key, Result >::deserialize ( Deserializer & d)
overridevirtual

◆ equal()

template<typename Key , typename Result >
bool inviwo::animation::LinearInterpolation< Key, Result >::equal ( const Interpolation & other) const
overridevirtual

◆ getClassIdentifier()

template<typename Key , typename Result >
std::string inviwo::animation::LinearInterpolation< Key, Result >::getClassIdentifier ( ) const
overridevirtual

◆ getName()

template<typename Key , typename Result >
std::string inviwo::animation::LinearInterpolation< Key, Result >::getName ( ) const
overridevirtual

◆ serialize()

template<typename Key , typename Result >
void inviwo::animation::LinearInterpolation< Key, Result >::serialize ( Serializer & s) const
overridevirtual

The documentation for this class was generated from the following file: