![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <callbacktrack.h>
Public Member Functions | |
| virtual CallbackTrack * | clone () const override |
| virtual std::string_view | getClassIdentifier () const override |
| virtual AnimationTimeState | operator() (Seconds from, Seconds to, AnimationState state) const override |
| Public Member Functions inherited from inviwo::animation::BaseTrack< CallbackKeyframeSequence > | |
| BaseTrack (const std::string &name, size_t priority=0) | |
| virtual bool | isEnabled () const override |
| virtual void | setEnabled (bool enabled) override |
| virtual const std::string & | getName () const override |
| virtual void | setName (const std::string &name) override |
| virtual size_t | getPriority () const override |
| virtual void | setPriority (size_t priority) override |
| virtual Seconds | getFirstTime () const override |
| virtual Seconds | getLastTime () const override |
| virtual std::optional< Seconds > | getPrevTime (Seconds at) const final |
| virtual std::optional< Seconds > | getNextTime (Seconds at) const final |
| virtual std::vector< Seconds > | getAllTimes () const override |
| virtual size_t | size () const override |
| virtual bool | empty () const override |
| virtual CallbackKeyframeSequence & | operator[] (size_t i) override |
| virtual const CallbackKeyframeSequence & | getFirst () const override |
| virtual const CallbackKeyframeSequence & | getLast () const override |
| iterator | begin () |
| iterator | end () |
| virtual key_type * | add (Seconds time, bool asNewSequence) override |
| virtual std::unique_ptr< KeyframeSequence > | remove (size_t i) override |
| virtual void | serialize (Serializer &s) const override |
| virtual void | deserialize (Deserializer &d) override |
| virtual std::unique_ptr< key_type > | createKeyframe (Seconds time) const |
| Public Member Functions inherited from inviwo::animation::Track | |
| virtual | ~Track ()=default |
| virtual const KeyframeSequence & | operator[] (size_t i) const =0 |
| virtual KeyframeSequence & | getFirst ()=0 |
| virtual KeyframeSequence & | getLast ()=0 |
| virtual KeyframeSequence * | add (std::unique_ptr< KeyframeSequence > sequence)=0 |
| virtual std::unique_ptr< KeyframeSequence > | remove (KeyframeSequence *seq)=0 |
| virtual std::unique_ptr< Keyframe > | remove (Keyframe *key)=0 |
| Public Member Functions inherited from inviwo::Observable< TrackObserver > | |
| Observable< TrackObserver > & | operator= (const Observable< TrackObserver > &other) |
| void | addObserver (TrackObserver *observer) |
| void | removeObserver (TrackObserver *observer) |
| bool | isObservedBy (TrackObserver *observer) const |
| virtual void | startBlockingNotifications () override final |
| virtual void | stopBlockingNotifications () override final |
| Public Member Functions inherited from inviwo::animation::KeyframeSequenceObserver | |
| virtual void | onKeyframeAdded (Keyframe *, KeyframeSequence *) |
| virtual void | onKeyframeRemoved (Keyframe *, KeyframeSequence *) |
| virtual void | onKeyframeSequenceSelectionChanged (KeyframeSequence *) |
| 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 () |
Static Public Member Functions | |
| static std::string_view | classIdentifier () |
Additional Inherited Members | |
| Public Types inherited from inviwo::animation::BaseTrack< CallbackKeyframeSequence > | |
| using | seq_type |
| using | key_type |
| using | value_type |
| using | iterator |
| using | const_iterator |
| Protected Member Functions inherited from inviwo::animation::BaseTrack< CallbackKeyframeSequence > | |
| BaseTrack & | operator= (const BaseTrack &) |
| virtual void | onKeyframeSequenceMoved (KeyframeSequence *seq) override |
| key_type * | addToClosestSequence (std::unique_ptr< key_type > key) |
| Protected Member Functions inherited from inviwo::animation::TrackObservable | |
| void | notifyKeyframeSequenceAdded (Track *t, KeyframeSequence *s) |
| void | notifyKeyframeSequenceRemoved (Track *t, KeyframeSequence *s) |
| void | notifyFirstMoved (Track *t) |
| void | notifyLastMoved (Track *t) |
| void | notifyEnabledChanged (Track *t) |
| void | notifyNameChanged (Track *t) |
| void | notifyPriorityChanged (Track *t) |
| Protected Member Functions inherited from inviwo::Observable< TrackObserver > | |
| void | forEachObserver (C callback) |
| Protected Member Functions inherited from inviwo::ObservableInterface | |
| virtual void | addObserver (Observer *observer)=0 |
| virtual void | removeObserver (Observer *observer)=0 |
| void | addObservationHelper (Observer *observer) |
| void | removeObservationHelper (Observer *observer) |
| Protected Member Functions inherited from inviwo::Observer | |
| void | addObservation (ObservableInterface *observable) |
| Protected Attributes inherited from inviwo::Observer | |
| std::unordered_set< ObservableInterface * > | observables_ |
A track for executing callbacks when animating forward/backward. Exposes functions for adding a CallbackKeyFrame and CallbackKeyFrameSequence This track is intended to be added programmatically, i.e., not through the animation user interface.
|
overridevirtual |
Create a deep copy of the Track including references to its possibly underlying Property.
Implements inviwo::animation::Track.
|
overridevirtual |
Implements inviwo::animation::Track.
|
overridevirtual |
Animate track between times from and to
Implements inviwo::animation::Track.