Inviwo 0.9.12-pre
Inviwo documentation
|
#include <callbackkeyframesequence.h>
Public Types | |
using | key_type = typename BaseKeyframeSequence<CallbackKeyframe>::key_type |
Public Types inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe > | |
using | key_type |
using | value_type |
using | iterator |
using | const_iterator |
Public Member Functions | |
CallbackKeyframeSequence (const CallbackKeyframeSequence &rhs)=default | |
CallbackKeyframeSequence (CallbackKeyframeSequence &&rhs)=default | |
CallbackKeyframeSequence (std::vector< std::unique_ptr< CallbackKeyframe > > keyframes) | |
CallbackKeyframeSequence & | operator= (const CallbackKeyframeSequence &that)=default |
CallbackKeyframeSequence & | operator= (CallbackKeyframeSequence &&that)=default |
virtual CallbackKeyframeSequence * | clone () const override |
virtual AnimationTimeState | operator() (Seconds from, Seconds to, AnimationState state) const |
Public Member Functions inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe > | |
BaseKeyframeSequence (std::vector< std::unique_ptr< CallbackKeyframe > > keyframes) | |
virtual | ~BaseKeyframeSequence () |
virtual size_t | size () const override |
virtual const CallbackKeyframe & | operator[] (size_t i) const override |
virtual CallbackKeyframe & | operator[] (size_t i) override |
virtual const CallbackKeyframe & | getFirst () const override |
virtual CallbackKeyframe & | getFirst () override |
virtual const CallbackKeyframe & | getLast () const override |
virtual CallbackKeyframe & | getLast () override |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
virtual CallbackKeyframe * | add (std::unique_ptr< Keyframe > key) override |
CallbackKeyframe * | add (std::unique_ptr< CallbackKeyframe > key) |
virtual std::unique_ptr< Keyframe > | remove (size_t i) override |
virtual std::unique_ptr< Keyframe > | remove (Keyframe *key) 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::KeyframeSequence | |
Seconds | getFirstTime () const |
Seconds | getLastTime () const |
std::pair< Seconds, Seconds > | getTimeSpan () const |
bool | isAnyKeyframeSelected () const |
Public Member Functions inherited from inviwo::Serializable | |
Public Member Functions inherited from inviwo::Observable< KeyframeSequenceObserver > | |
Observable (const Observable< KeyframeSequenceObserver > &other) | |
Observable (Observable< KeyframeSequenceObserver > &&other) noexcept | |
Observable< KeyframeSequenceObserver > & | operator= (const Observable< KeyframeSequenceObserver > &other) |
Observable< KeyframeSequenceObserver > & | operator= (Observable< KeyframeSequenceObserver > &&other) noexcept |
void | addObserver (KeyframeSequenceObserver *observer) |
void | removeObserver (KeyframeSequenceObserver *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Public Member Functions inherited from inviwo::ObservableInterface | |
Public Member Functions inherited from inviwo::animation::KeyframeObserver | |
virtual void | onKeyframeSelectionChanged (Keyframe *) |
Public Member Functions inherited from inviwo::Observer | |
Observer (const Observer &other) | |
Observer (Observer &&other) | |
Observer & | operator= (Observer &&other) |
Observer & | operator= (const Observer &other) |
virtual | ~Observer () |
void | removeObservation (ObservableInterface *observable) |
void | removeObservations () |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe > | |
BaseKeyframeSequence (const BaseKeyframeSequence &rhs) | |
BaseKeyframeSequence & | operator= (const BaseKeyframeSequence &that) |
virtual void | onKeyframeTimeChanged (Keyframe *key, Seconds oldTime) override |
Protected Member Functions inherited from inviwo::animation::KeyframeSequenceObserverble | |
void | notifyKeyframeAdded (Keyframe *key, KeyframeSequence *seq) |
void | notifyKeyframeRemoved (Keyframe *key, KeyframeSequence *seq) |
void | notifyKeyframeSequenceMoved (KeyframeSequence *seq) |
void | notifyKeyframeSequenceSelectionChanged (KeyframeSequence *seq) |
Protected Member Functions inherited from inviwo::Observable< KeyframeSequenceObserver > | |
void | forEachObserver (C callback) |
Protected Member Functions inherited from inviwo::ObservableInterface | |
void | addObservationHelper (Observer *observer) |
void | removeObservationHelper (Observer *observer) |
Protected Member Functions inherited from inviwo::Observer | |
void | addObservation (ObservableInterface *observable) |
Protected Attributes inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe > | |
std::vector< std::unique_ptr< CallbackKeyframe > > | keyframes_ |
bool | isSelected_ |
Protected Attributes inherited from inviwo::Observer | |
std::unordered_set< ObservableInterface * > | observables_ |
KeyframeSequence for CallbackKeyframe. Animating over a CallbackKeyframe in the sequence will call its corresponding callbacks.
|
overridevirtual |
Implements inviwo::animation::KeyframeSequence.