Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::animation::CallbackKeyframeSequence Class Reference

#include <callbackkeyframesequence.h>

+ Inheritance diagram for inviwo::animation::CallbackKeyframeSequence:

Public Types

using key_type = typename BaseKeyframeSequence<CallbackKeyframe>::key_type
 
- Public Types inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe >
using key_type
 
using value_type
 
using iterator
 
using const_iterator
 

Public Member Functions

 CallbackKeyframeSequence (const CallbackKeyframeSequence &rhs)=default
 
 CallbackKeyframeSequence (CallbackKeyframeSequence &&rhs)=default
 
 CallbackKeyframeSequence (std::vector< std::unique_ptr< CallbackKeyframe > > keyframes)
 
CallbackKeyframeSequenceoperator= (const CallbackKeyframeSequence &that)=default
 
CallbackKeyframeSequenceoperator= (CallbackKeyframeSequence &&that)=default
 
virtual CallbackKeyframeSequenceclone () const override
 
virtual AnimationTimeState operator() (Seconds from, Seconds to, AnimationState state) const
 
- Public Member Functions inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe >
 BaseKeyframeSequence (std::vector< std::unique_ptr< CallbackKeyframe > > keyframes)
 
virtual ~BaseKeyframeSequence ()
 
virtual size_t size () const override
 
virtual const CallbackKeyframeoperator[] (size_t i) const override
 
virtual CallbackKeyframeoperator[] (size_t i) override
 
virtual const CallbackKeyframegetFirst () const override
 
virtual CallbackKeyframegetFirst () override
 
virtual const CallbackKeyframegetLast () const override
 
virtual CallbackKeyframegetLast () override
 
virtual std::optional< Seconds > getPrevTime (Seconds at) const final
 
virtual std::optional< Seconds > getNextTime (Seconds at) const final
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
virtual CallbackKeyframeadd (std::unique_ptr< Keyframe > key) override
 
CallbackKeyframeadd (std::unique_ptr< CallbackKeyframe > 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
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) 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::Serializable
- Public Member Functions inherited from inviwo::Observable< KeyframeSequenceObserver >
 Observable (const Observable< KeyframeSequenceObserver > &other)
 
 Observable (Observable< KeyframeSequenceObserver > &&other) noexcept
 
Observable< KeyframeSequenceObserver > & operator= (const Observable< KeyframeSequenceObserver > &other)
 
Observable< KeyframeSequenceObserver > & operator= (Observable< KeyframeSequenceObserver > &&other) noexcept
 
void addObserver (KeyframeSequenceObserver *observer)
 
void removeObserver (KeyframeSequenceObserver *observer)
 
virtual void startBlockingNotifications () override final
 
virtual void stopBlockingNotifications () override final
 
- Public Member Functions inherited from inviwo::ObservableInterface
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe >
 BaseKeyframeSequence (const BaseKeyframeSequence &rhs)
 
BaseKeyframeSequenceoperator= (const BaseKeyframeSequence &that)
 
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 Attributes inherited from inviwo::animation::BaseKeyframeSequence< CallbackKeyframe >
std::vector< std::unique_ptr< CallbackKeyframe > > keyframes_
 
bool isSelected_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Detailed Description

KeyframeSequence for CallbackKeyframe. Animating over a CallbackKeyframe in the sequence will call its corresponding callbacks.

See also
CallbackKeyframe
CallbackTrack

Member Function Documentation

◆ clone()

virtual CallbackKeyframeSequence * inviwo::animation::CallbackKeyframeSequence::clone ( ) const
overridevirtual

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