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

#include <buttonkeyframesequence.h>

+ Inheritance diagram for inviwo::animation::ButtonKeyframeSequence:

Public Types

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

Public Member Functions

 ButtonKeyframeSequence (std::vector< std::unique_ptr< ButtonKeyframe > > keyframes)
 
 ButtonKeyframeSequence (const ButtonKeyframeSequence &rhs)=default
 
ButtonKeyframeSequenceoperator= (const ButtonKeyframeSequence &that)=default
 
virtual ButtonKeyframeSequenceclone () const override
 
void operator() (Seconds from, Seconds to, bool &pressed) const
 
- Public Member Functions inherited from inviwo::animation::BaseKeyframeSequence< ButtonKeyframe >
 BaseKeyframeSequence (std::vector< std::unique_ptr< ButtonKeyframe > > keyframes)
 
virtual ~BaseKeyframeSequence ()
 
virtual size_t size () const override
 
virtual const ButtonKeyframeoperator[] (size_t i) const override
 
virtual ButtonKeyframeoperator[] (size_t i) override
 
virtual const ButtonKeyframegetFirst () const override
 
virtual ButtonKeyframegetFirst () override
 
virtual const ButtonKeyframegetLast () const override
 
virtual ButtonKeyframegetLast () 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 ButtonKeyframeadd (std::unique_ptr< Keyframe > key) override
 
ButtonKeyframeadd (std::unique_ptr< ButtonKeyframe > 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< ButtonKeyframe >
 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< ButtonKeyframe >
std::vector< std::unique_ptr< ButtonKeyframe > > keyframes_
 
bool isSelected_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Detailed Description

KeyframeSequence for ButtonProperty. Button will be pressed when passing over keyframe.

See also
KeyframeSequence

Member Function Documentation

◆ clone()

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

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