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

#include <constantinterpolation.h>

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

Public Member Functions

virtual ConstantInterpolationclone () 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
 
- 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_view 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::ConstantInterpolation< Key, Result >

Interpolation function for key frames. Returns left keyframe value until reaching right keyframe.

Member Function Documentation

◆ clone()

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

◆ deserialize()

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

◆ equal()

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

◆ getClassIdentifier()

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

◆ getName()

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

◆ serialize()

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

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