Inviwo  0.9.10.1
Inviwo documentation
inviwo::animation::ValueKeyframe< T > Class Template Reference

#include <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

 ValueKeyframe (Seconds time)
 
 ValueKeyframe (Seconds time, const T &value)
 
virtual ValueKeyframeclone () const override
 
 ValueKeyframe (const ValueKeyframe &rhs)=default
 
ValueKeyframeoperator= (const ValueKeyframe &that)
 
const T & getValue () const
 
T & getValue ()
 
void setValue (const T &value)
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
- Public Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (Seconds time)
 
 BaseKeyframe (const BaseKeyframe &rhs)
 
BaseKeyframeoperator= (const BaseKeyframe &that)
 
virtual Seconds getTime () const override
 
virtual void setTime (Seconds time) override
 
virtual bool isSelected () const override
 
virtual void setSelected (bool selected) override
 
- Public Member Functions inherited from inviwo::Observable< KeyframeObserver >
 Observable (const Observable< KeyframeObserver > &other)
 
 Observable (Observable< KeyframeObserver > &&other)
 
Observable< KeyframeObserver > & operator= (const Observable< KeyframeObserver > &other)
 
Observable< KeyframeObserver > & operator= (Observable< KeyframeObserver > &&other)
 
void addObserver (KeyframeObserver *observer)
 
void removeObserver (KeyframeObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::animation::KeyframeObservable
void notifyKeyframeTimeChanged (Keyframe *key, Seconds oldTime)
 
void notifyKeyframeSelectionChanged (Keyframe *key)
 
- 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)
 
- Protected Attributes inherited from inviwo::animation::BaseKeyframe
bool isSelected_ {false}
 
Seconds time_ {0.0}
 

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

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