Inviwo 0.9.12-pre
Inviwo documentation
|
#include <callbackkeyframe.h>
Public Member Functions | |
CallbackKeyframe (Seconds time, std::function< void()> do_=nullptr, std::function< void()> undo=nullptr) | |
CallbackKeyframe (const CallbackKeyframe &rhs)=default | |
CallbackKeyframe & | operator= (const CallbackKeyframe &that)=default |
virtual CallbackKeyframe * | clone () const override |
AnimationTimeState | operator() (Seconds from, Seconds to, AnimationState state) const |
Public Member Functions inherited from inviwo::animation::BaseKeyframe | |
BaseKeyframe (Seconds time) | |
virtual Seconds | getTime () const override |
virtual void | setTime (Seconds time) override |
virtual bool | isSelected () const override |
virtual void | setSelected (bool selected) override |
virtual void | serialize (Serializer &s) const override |
virtual void | deserialize (Deserializer &d) override |
Public Member Functions inherited from inviwo::animation::Keyframe | |
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 |
Additional Inherited Members | |
Public Types inherited from inviwo::animation::BaseKeyframe | |
using | value_type = void |
Protected Member Functions inherited from inviwo::animation::BaseKeyframe | |
BaseKeyframe (const BaseKeyframe &rhs)=default | |
BaseKeyframe (BaseKeyframe &&rhs)=default | |
BaseKeyframe & | operator= (const BaseKeyframe &that) |
BaseKeyframe & | operator= (BaseKeyframe &&that)=default |
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) |
Keyframe which calls one function when animating forward and a different one when animating backwards. This makes it possible to do/undo things when animating back and forth. This keyframe is intended to be added programatically, i.e., not through the animation user interface.
|
overridevirtual |
Implements inviwo::animation::Keyframe.