Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::TrackTyped< Key > Class Template Referenceabstract

#include <track.h>

+ Inheritance diagram for inviwo::animation::TrackTyped< Key >:

Public Member Functions

virtual KeyframeSequenceTyped< Key > & operator[] (size_t i) override=0
 
virtual const KeyframeSequenceTyped< Key > & operator[] (size_t i) const override=0
 
virtual void addTyped (const KeyframeSequenceTyped< Key > &sequence)=0
 
- Public Member Functions inherited from inviwo::animation::Track
virtual ~Track ()=default
 
virtual Trackclone () const =0
 
virtual std::string getClassIdentifier () const =0
 
virtual bool isEnabled () const =0
 
virtual void setEnabled (bool enabled)=0
 
virtual void setName (const std::string &name)=0
 
virtual const std::string & getName () const =0
 
virtual size_t getPriority () const =0
 
virtual void setPriority (size_t priority)=0
 
virtual Seconds getFirstTime () const =0
 
virtual Seconds getLastTime () const =0
 
virtual std::vector< Seconds > getAllTimes () const =0
 
virtual size_t size () const =0
 
virtual bool empty () const =0
 
virtual AnimationTimeState operator() (Seconds from, Seconds to, AnimationState state) const =0
 
virtual const KeyframeSequencegetFirst () const =0
 
virtual KeyframeSequencegetFirst ()=0
 
virtual const KeyframeSequencegetLast () const =0
 
virtual KeyframeSequencegetLast ()=0
 
virtual Keyframeadd (Seconds time, bool asNewSequence)=0
 
virtual KeyframeSequenceadd (std::unique_ptr< KeyframeSequence > sequence)=0
 
virtual std::unique_ptr< KeyframeSequenceremove (size_t i)=0
 
virtual std::unique_ptr< KeyframeSequenceremove (KeyframeSequence *seq)=0
 
virtual std::unique_ptr< Keyframeremove (Keyframe *key)=0
 
virtual void serialize (Serializer &s) const override=0
 
virtual void deserialize (Deserializer &d) override=0
 
- Public Member Functions inherited from inviwo::Serializable
- Public Member Functions inherited from inviwo::Observable< TrackObserver >
 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
 
- Public Member Functions inherited from inviwo::ObservableInterface

Additional Inherited Members

- 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
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 

Detailed Description

template<typename Key>
class inviwo::animation::TrackTyped< Key >

Track containing KeyFrameSequence of a given KeyFrame type.

See also
Track
KeyframeSequenceTyped

Member Function Documentation

◆ operator[]() [1/2]

template<typename Key >
virtual const KeyframeSequenceTyped< Key > & inviwo::animation::TrackTyped< Key >::operator[] ( size_t i) const
overridepure virtual

◆ operator[]() [2/2]

template<typename Key >
virtual KeyframeSequenceTyped< Key > & inviwo::animation::TrackTyped< Key >::operator[] ( size_t i)
overridepure virtual

The documentation for this class was generated from the following file: