Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::ValueKeyframe< T > Class Template Reference

#include <modules/animation/datastructures/valuekeyframe.h>

+ Inheritance diagram for inviwo::animation::ValueKeyframe< T >:

Public Types

using value_type = T
 
- Public Types inherited from inviwo::animation::BaseKeyframe
using value_type = void
 

Public Member Functions

virtual ValueKeyframeclone () const override
 
virtual void deserialize (Deserializer &d) override
 
T & getValue ()
 
const T & getValue () const
 
ValueKeyframeoperator= (const ValueKeyframe &that)
 
virtual void serialize (Serializer &s) const override
 
void setValue (const T &value)
 
 ValueKeyframe (const ValueKeyframe &rhs)=default
 
 ValueKeyframe (Seconds time)
 
 ValueKeyframe (Seconds time, const T &value)
 
- Public Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (Seconds time)
 
std::optional< EasingType > getEaseIn () const
 
std::optional< EasingType > getEaseOut () const
 
virtual Seconds getTime () const override
 
virtual bool isSelected () const override
 
void setEaseIn (std::optional< EasingType > easeIn)
 
void setEaseOut (std::optional< EasingType > easeOut)
 
virtual void setSelected (bool selected) override
 
virtual void setTime (Seconds time) override
 
- Public Member Functions inherited from inviwo::animation::Keyframe
auto operator<=> (const Keyframe &other) const
 
auto operator<=> (const Seconds &time) const
 
auto operator== (const Keyframe &other) const =delete
 
- Public Member Functions inherited from inviwo::Observable< KeyframeObserver >
void addObserver (KeyframeObserver *observer)
 
bool isObservedBy (KeyframeObserver *observer) const
 
 Observable (const Observable< KeyframeObserver > &other)
 
 Observable (Observable< KeyframeObserver > &&other) noexcept
 
Observable< KeyframeObserver > & operator= (const Observable< KeyframeObserver > &other)
 
Observable< KeyframeObserver > & operator= (Observable< KeyframeObserver > &&other) noexcept
 
void removeObserver (KeyframeObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (BaseKeyframe &&rhs)=default
 
 BaseKeyframe (const BaseKeyframe &rhs)=default
 
BaseKeyframeoperator= (BaseKeyframe &&that)=default
 
BaseKeyframeoperator= (const BaseKeyframe &that)
 
- Protected Member Functions inherited from inviwo::animation::KeyframeObservable
void notifyKeyframeEasingChanged (Keyframe *key)
 
void notifyKeyframeSelectionChanged (Keyframe *key)
 
void notifyKeyframeTimeChanged (Keyframe *key, Seconds oldTime)
 
- Protected Member Functions inherited from inviwo::Observable< KeyframeObserver >
void forEachObserver (C callback)
 
- Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 

Detailed Description

template<typename T>
class inviwo::animation::ValueKeyframe< T >

Keyframe of a given value type (float, integer, vec3 and so on). Stores the KeyFrame value at a given time.

See also
Keyframe

Member Function Documentation

◆ clone()

template<typename T >
ValueKeyframe< T > * inviwo::animation::ValueKeyframe< T >::clone ( ) const
overridevirtual

◆ deserialize()

template<typename T >
void inviwo::animation::ValueKeyframe< T >::deserialize ( Deserializer & d)
overridevirtual

Reimplemented from inviwo::animation::BaseKeyframe.

◆ serialize()

template<typename T >
void inviwo::animation::ValueKeyframe< T >::serialize ( Serializer & s) const
overridevirtual

Reimplemented from inviwo::animation::BaseKeyframe.


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