Inviwo  0.9.10.1
Inviwo documentation
inviwo::animation::KeyframeSequenceTyped< Key > Class Template Reference

#include <valuekeyframesequence.h>

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

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 = util::IndirectIterator< typename std::vector< std::unique_ptr< Key > >::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)
 
KeyframeSequenceTypedoperator= (const KeyframeSequenceTyped &that)
 
virtual ~KeyframeSequenceTyped ()
 
virtual KeyframeSequenceTyped< Key > * clone () const override
 
virtual auto operator() (Seconds from, Seconds to) const -> value_type
 
virtual const InterpolationTyped< Key > & getInterpolation () const override
 
virtual void setInterpolation (std::unique_ptr< Interpolation > interpolation) override
 
void setInterpolation (std::unique_ptr< InterpolationTyped< Key >> interpolation)
 
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)
 
 BaseKeyframeSequence (const BaseKeyframeSequence &rhs)
 
BaseKeyframeSequenceoperator= (const BaseKeyframeSequence &that)
 
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 void add (std::unique_ptr< Keyframe > key) override
 
void add (std::unique_ptr< Key > key)
 
virtual std::unique_ptr< Keyframeremove (size_t i) override
 
virtual std::unique_ptr< Keyframeremove (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::Observable< KeyframeSequenceObserver >
 Observable (const Observable< KeyframeSequenceObserver > &other)
 
 Observable (Observable< KeyframeSequenceObserver > &&other)
 
Observable< KeyframeSequenceObserver > & operator= (const Observable< KeyframeSequenceObserver > &other)
 
Observable< KeyframeSequenceObserver > & operator= (Observable< KeyframeSequenceObserver > &&other)
 
void addObserver (KeyframeSequenceObserver *observer)
 
void removeObserver (KeyframeSequenceObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 
- 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)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 
- Public Member Functions inherited from inviwo::Observable< ValueKeyframeSequenceObserver >
 Observable (const Observable< ValueKeyframeSequenceObserver > &other)
 
 Observable (Observable< ValueKeyframeSequenceObserver > &&other)
 
Observable< ValueKeyframeSequenceObserver > & operator= (const Observable< ValueKeyframeSequenceObserver > &other)
 
Observable< ValueKeyframeSequenceObserver > & operator= (Observable< ValueKeyframeSequenceObserver > &&other)
 
void addObserver (ValueKeyframeSequenceObserver *observer)
 
void removeObserver (ValueKeyframeSequenceObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 

Additional Inherited Members

- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Member Functions inherited from inviwo::animation::BaseKeyframeSequence< Key >
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
ObservableSet observables_
 

Detailed Description

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

KeyframeSequence for a given type of KeyFames.

See also
KeyframeSequence

Constructor & Destructor Documentation

◆ ~KeyframeSequenceTyped()

template<typename Key >
inviwo::animation::KeyframeSequenceTyped< Key >::~KeyframeSequenceTyped ( )
virtualdefault

Remove all keyframes and call KeyframeObserver::notifyKeyframeRemoved


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