Inviwo 0.9.12-pre
Inviwo documentation
|
#include <valuekeyframesequence.h>
Public Types | |
using | key_type = Key |
using | value_type = typename Key::value_type |
Public Types inherited from inviwo::animation::BaseKeyframeSequence< Key > | |
using | key_type = Key |
using | value_type = typename Key::value_type |
using | iterator = util::IndirectIterator<typename std::vector<std::unique_ptr<Key>>::iterator> |
using | const_iterator |
Public Member Functions | |
KeyframeSequenceTyped (std::vector< std::unique_ptr< Key > > keyframes) | |
KeyframeSequenceTyped (std::vector< std::unique_ptr< Key > > keyframes, std::unique_ptr< InterpolationTyped< Key > > interpolation) | |
KeyframeSequenceTyped (const KeyframeSequenceTyped &rhs) | |
KeyframeSequenceTyped & | operator= (const KeyframeSequenceTyped &that) |
virtual | ~KeyframeSequenceTyped () |
virtual KeyframeSequenceTyped< Key > * | clone () const override |
virtual void | operator() (Seconds from, Seconds to, value_type &out) const |
virtual const InterpolationTyped< Key > & | getInterpolation () const override |
virtual void | setInterpolation (std::unique_ptr< Interpolation > interpolation) override |
void | setInterpolation (std::unique_ptr< InterpolationTyped< Key, value_type > > interpolation) |
virtual std::vector< InterpolationFactoryObject * > | getSupportedInterpolations (InterpolationFactory &factory) const override |
virtual easing::EasingType | getEasingType () const override |
virtual void | setEasingType (easing::EasingType easing) override |
virtual void | serialize (Serializer &s) const override |
virtual void | deserialize (Deserializer &d) override |
Public Member Functions inherited from inviwo::animation::BaseKeyframeSequence< Key > | |
BaseKeyframeSequence (std::vector< std::unique_ptr< Key > > keyframes) | |
virtual | ~BaseKeyframeSequence () |
virtual size_t | size () const override |
virtual const Key & | operator[] (size_t i) const override |
virtual Key & | operator[] (size_t i) override |
virtual const Key & | getFirst () const override |
virtual Key & | getFirst () override |
virtual const Key & | getLast () const override |
virtual Key & | getLast () override |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
virtual Key * | add (std::unique_ptr< Keyframe > key) override |
Key * | add (std::unique_ptr< Key > 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 |
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 () |
Public Member Functions inherited from inviwo::animation::ValueKeyframeSequence | |
Public Member Functions inherited from inviwo::Observable< ValueKeyframeSequenceObserver > | |
Observable (const Observable< ValueKeyframeSequenceObserver > &other) | |
Observable (Observable< ValueKeyframeSequenceObserver > &&other) noexcept | |
Observable< ValueKeyframeSequenceObserver > & | operator= (const Observable< ValueKeyframeSequenceObserver > &other) |
Observable< ValueKeyframeSequenceObserver > & | operator= (Observable< ValueKeyframeSequenceObserver > &&other) noexcept |
void | addObserver (ValueKeyframeSequenceObserver *observer) |
void | removeObserver (ValueKeyframeSequenceObserver *observer) |
virtual void | startBlockingNotifications () override final |
virtual void | stopBlockingNotifications () override final |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::animation::BaseKeyframeSequence< Key > | |
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 Member Functions inherited from inviwo::animation::ValueKeyframeSequenceObserverble | |
void | notifyValueKeyframeSequenceEasingChanged (ValueKeyframeSequence *seq) |
void | notifyValueKeyframeSequenceInterpolationChanged (ValueKeyframeSequence *seq) |
Protected Member Functions inherited from inviwo::Observable< ValueKeyframeSequenceObserver > | |
void | forEachObserver (C callback) |
Protected Attributes inherited from inviwo::animation::BaseKeyframeSequence< Key > | |
std::vector< std::unique_ptr< Key > > | keyframes_ |
bool | isSelected_ {false} |
Protected Attributes inherited from inviwo::Observer | |
std::unordered_set< ObservableInterface * > | observables_ |
KeyframeSequence for a given type of KeyFames. Keyframes are expected to be interpolated so a InterpolationTyped<Key> must be defined for the given Keyframe.
|
virtual |
Remove all keyframes and call KeyframeObserver::notifyKeyframeRemoved
|
overridevirtual |
Implements inviwo::animation::KeyframeSequence.
|
overridevirtual |
Reimplemented from inviwo::animation::BaseKeyframeSequence< Key >.
|
overridevirtual |
Implements inviwo::animation::ValueKeyframeSequence.
|
overridevirtual |
Implements inviwo::animation::ValueKeyframeSequence.
|
overridevirtual |
Implements inviwo::animation::ValueKeyframeSequence.
|
overridevirtual |
Reimplemented from inviwo::animation::BaseKeyframeSequence< Key >.
|
overridevirtual |
Implements inviwo::animation::ValueKeyframeSequence.
|
overridevirtual |
Implements inviwo::animation::ValueKeyframeSequence.