|
| 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 (const Observable< TrackObserver > &other) |
|
| Observable (Observable< TrackObserver > &&other) noexcept |
|
Observable< TrackObserver > & | operator= (const Observable< TrackObserver > &other) |
|
Observable< TrackObserver > & | operator= (Observable< TrackObserver > &&other) noexcept |
|
void | addObserver (TrackObserver *observer) |
|
void | removeObserver (TrackObserver *observer) |
|
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 () |
|
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