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

#include <controlkeyframe.h>

+ Inheritance diagram for inviwo::animation::ControlKeyframe:

Public Types

using value_type = void
 
- Public Types inherited from inviwo::animation::BaseKeyframe
using value_type = void
 

Public Member Functions

 ControlKeyframe (Seconds time, ControlAction action=ControlAction::Pause, Seconds jumpTime=Seconds{0})
 
 ControlKeyframe (const ControlKeyframe &rhs)
 
ControlKeyframeoperator= (const ControlKeyframe &that)
 
virtual ControlKeyframeclone () const override
 
ControlAction getAction () const
 
void setAction (ControlAction action)
 
Seconds getJumpTime () const
 
void setJumpTime (Seconds jumpTime)
 
AnimationTimeState operator() (Seconds from, Seconds to, AnimationState state) const
 
virtual void serialize (Serializer &s) const override
 
virtual void deserialize (Deserializer &d) override
 
- Public Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (Seconds time)
 
virtual Seconds getTime () const override
 
virtual void setTime (Seconds time) override
 
virtual bool isSelected () const override
 
virtual void setSelected (bool selected) override
 
- Public Member Functions inherited from inviwo::animation::Keyframe
- Public Member Functions inherited from inviwo::Serializable
- Public Member Functions inherited from inviwo::Observable< KeyframeObserver >
 Observable (const Observable< KeyframeObserver > &other)
 
 Observable (Observable< KeyframeObserver > &&other) noexcept
 
Observable< KeyframeObserver > & operator= (const Observable< KeyframeObserver > &other)
 
Observable< KeyframeObserver > & operator= (Observable< KeyframeObserver > &&other) noexcept
 
void addObserver (KeyframeObserver *observer)
 
void removeObserver (KeyframeObserver *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::BaseKeyframe
 BaseKeyframe (const BaseKeyframe &rhs)=default
 
 BaseKeyframe (BaseKeyframe &&rhs)=default
 
BaseKeyframeoperator= (const BaseKeyframe &that)
 
BaseKeyframeoperator= (BaseKeyframe &&that)=default
 
- Protected Member Functions inherited from inviwo::animation::KeyframeObservable
void notifyKeyframeTimeChanged (Keyframe *key, Seconds oldTime)
 
void notifyKeyframeSelectionChanged (Keyframe *key)
 
- Protected Member Functions inherited from inviwo::Observable< KeyframeObserver >
void forEachObserver (C callback)
 
- Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
 
void removeObservationHelper (Observer *observer)
 

Detailed Description

Base class for Keyframes that performs some type of control action.

See also
Keyframe

Member Function Documentation

◆ clone()

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

◆ deserialize()

virtual void inviwo::animation::ControlKeyframe::deserialize ( Deserializer & d)
overridevirtual

Reimplemented from inviwo::animation::BaseKeyframe.

◆ serialize()

virtual void inviwo::animation::ControlKeyframe::serialize ( Serializer & s) const
overridevirtual

Reimplemented from inviwo::animation::BaseKeyframe.


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