|
|
| PropertyTrack (ProcessorNetwork *network) |
|
| PropertyTrack (Prop *property) |
|
| PropertyTrack (Prop *property, ProcessorNetwork *network) |
| virtual | ~PropertyTrack () |
| virtual PropertyTrack * | clone () const override |
| virtual std::string_view | getClassIdentifier () const override |
| virtual AnimationTimeState | operator() (Seconds from, Seconds to, AnimationState state) const override |
| virtual const Prop * | getProperty () const override |
| virtual Prop * | getProperty () override |
| virtual void | setProperty (Property *property) override |
| virtual void | serialize (Serializer &s) const override |
| virtual void | deserialize (Deserializer &d) override |
| virtual Key * | addKeyFrameUsingPropertyValue (const Property *property, Seconds time, std::unique_ptr< Interpolation > interpolation=nullptr) override |
| virtual Key * | addKeyFrameUsingPropertyValue (Seconds time, std::unique_ptr< Interpolation > interpolation=nullptr) override |
| virtual Seq * | addSequenceUsingPropertyValue (Seconds time, std::unique_ptr< Interpolation > interpolation=nullptr) override |
| virtual Track * | toTrack () override |
| void | setPropertyFromKeyframe (Property *dstProperty, const Keyframe *keyframe) const override |
| | Helper function to set a property from a keyframe.
|
| void | setKeyframeFromProperty (const Property *srcProperty, Keyframe *keyframe) override |
| | Helper function to update the value if a keyframe from a property (other than the property owned by the track).
|
| virtual std::unique_ptr< Key > | createKeyframe (Seconds time) const override |
|
| 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 Seq & | operator[] (size_t i) override |
| virtual const Seq & | operator[] (size_t i) const override |
| virtual const Seq & | getFirst () const override |
| virtual Seq & | getFirst () override |
| virtual const Seq & | getLast () const override |
| virtual Seq & | getLast () override |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
| virtual key_type * | add (Seconds time, bool asNewSequence) override |
| virtual Seq * | add (std::unique_ptr< KeyframeSequence > sequence) override |
| virtual Seq * | add (std::unique_ptr< Seq > sequence) |
| virtual std::unique_ptr< KeyframeSequence > | remove (size_t i) override |
| virtual std::unique_ptr< Keyframe > | remove (Keyframe *key) override |
| virtual std::unique_ptr< KeyframeSequence > | remove (KeyframeSequence *seq) override |
| virtual | ~Track ()=default |
| 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 |
|
virtual void | onKeyframeAdded (Keyframe *, KeyframeSequence *) |
|
virtual void | onKeyframeRemoved (Keyframe *, KeyframeSequence *) |
|
virtual void | onKeyframeSequenceSelectionChanged (KeyframeSequence *) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
| virtual | ~Observer () |
| void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
|
| PropertyTrack (const PropertyTrack &other)=default |
|
| PropertyTrack (PropertyTrack &&other)=default |
|
std::unique_ptr< Key > | createKeyframe (const Prop *property, Seconds time) const |
|
std::unique_ptr< Seq > | createKeyframeSequence (std::vector< std::unique_ptr< Key > > keys, std::unique_ptr< Interpolation > interpolation) const |
|
| BaseTrack (const BaseTrack &other) |
|
| BaseTrack (BaseTrack &&other)=default |
|
BaseTrack & | operator= (const BaseTrack &) |
|
BaseTrack & | operator= (BaseTrack &&other)=default |
| virtual void | onKeyframeSequenceMoved (KeyframeSequence *seq) override |
|
key_type * | addToClosestSequence (std::unique_ptr< key_type > key) |
|
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) |
|
void | forEachObserver (C callback) |
|
virtual void | addObserver (Observer *observer)=0 |
|
virtual void | removeObserver (Observer *observer)=0 |
|
void | addObservationHelper (Observer *observer) |
|
void | removeObservationHelper (Observer *observer) |
| void | addObservation (ObservableInterface *observable) |
template<typename Prop, typename Key, typename Seq = KeyframeSequenceTyped<Key>>
class inviwo::animation::PropertyTrack< Prop, Key, Seq >
Implementation of BasePropertyTrack and TrackTyped based on templates parameter types for Property, KeyFrame and KeyframeSequence. Exposes functions for adding a KeyFrame and KeyFrameSequence using the current values of the Property.
- See also
- Track
-
KeyframeSequenceTyped
-
Property