Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::Keyframe Class Referenceabstract

#include <keyframe.h>

+ Inheritance diagram for inviwo::animation::Keyframe:

Public Member Functions

virtual Keyframeclone () const =0
 
virtual void setTime (Seconds time)=0
 
virtual Seconds getTime () const =0
 
virtual bool isSelected () const =0
 
virtual void setSelected (bool selected)=0
 
virtual void serialize (Serializer &s) const override=0
 
virtual void deserialize (Deserializer &d) override=0
 
- Public Member Functions inherited from inviwo::Serializable
- Public Member Functions inherited from inviwo::Observable< KeyframeObserver >
 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 addObserver (KeyframeObserver *observer)
 
void removeObserver (KeyframeObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 
- Public Member Functions inherited from inviwo::ObservableInterface

Friends

bool operator< (const Keyframe &a, const Keyframe &b)
 
bool operator> (const Keyframe &a, const Keyframe &b)
 
bool operator>= (const Keyframe &a, const Keyframe &b)
 
bool operator<= (const Keyframe &a, const Keyframe &b)
 
bool operator< (const Keyframe &a, const Seconds &b)
 
bool operator<= (const Keyframe &a, const Seconds &b)
 
bool operator> (const Keyframe &a, const Seconds &b)
 
bool operator>= (const Keyframe &a, const Seconds &b)
 
bool operator< (const Seconds &a, const Keyframe &b)
 
bool operator<= (const Seconds &a, const Keyframe &b)
 
bool operator> (const Seconds &a, const Keyframe &b)
 
bool operator>= (const Seconds &a, const Keyframe &b)
 

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)
 

Detailed Description

Interface for keyframes in an animation Track. A keyframe usually contain a snapshot of a value at a given time, which will used for interpolation in a KeyFrameSequence. Note that a keyframe could also be a script to be executed.

See also
KeyFrameSequence
Track

Member Function Documentation

◆ deserialize()

virtual void inviwo::animation::Keyframe::deserialize ( Deserializer & d)
overridepure virtual

Implements inviwo::Serializable.

◆ serialize()

virtual void inviwo::animation::Keyframe::serialize ( Serializer & s) const
overridepure virtual

Implements inviwo::Serializable.


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