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

#include <modules/animation/datastructures/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

virtual ControlKeyframe * clone () const override
 ControlKeyframe (const ControlKeyframe &rhs)
 ControlKeyframe (Seconds time, ControlAction action=ControlAction::Pause, Seconds jumpTime=Seconds{0})
virtual void deserialize (Deserializer &d) override
ControlAction getAction () const
Seconds getJumpTime () const
AnimationTimeState operator() (Seconds from, Seconds to, AnimationState state) const
ControlKeyframe & operator= (const ControlKeyframe &that)
virtual void serialize (Serializer &s) const override
void setAction (ControlAction action)
void setJumpTime (Seconds jumpTime)
Public Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (Seconds time)
std::optional< EasingType > getEaseIn () const
std::optional< EasingType > getEaseOut () const
virtual Seconds getTime () const override
virtual bool isSelected () const override
void setEaseIn (std::optional< EasingType > easeIn)
void setEaseOut (std::optional< EasingType > easeOut)
virtual void setSelected (bool selected) override
virtual void setTime (Seconds time) override
Public Member Functions inherited from inviwo::animation::Keyframe
auto operator<=> (const Keyframe &other) const
auto operator<=> (const Seconds &time) const
auto operator== (const Keyframe &other) const =delete
Public Member Functions inherited from inviwo::Observable< KeyframeObserver >
void addObserver (KeyframeObserver *observer)
bool isObservedBy (KeyframeObserver *observer) const
Observable< KeyframeObserver > & operator= (const Observable< KeyframeObserver > &other)
void removeObserver (KeyframeObserver *observer)
virtual void startBlockingNotifications () override final
virtual void stopBlockingNotifications () override final

Additional Inherited Members

Protected Member Functions inherited from inviwo::animation::BaseKeyframe
 BaseKeyframe (BaseKeyframe &&rhs)=default
 BaseKeyframe (const BaseKeyframe &rhs)=default
BaseKeyframe & operator= (BaseKeyframe &&that)=default
BaseKeyframe & operator= (const BaseKeyframe &that)
Protected Member Functions inherited from inviwo::animation::KeyframeObservable
void notifyKeyframeEasingChanged (Keyframe *key)
void notifyKeyframeSelectionChanged (Keyframe *key)
void notifyKeyframeTimeChanged (Keyframe *key, Seconds oldTime)
Protected Member Functions inherited from inviwo::Observable< KeyframeObserver >
void forEachObserver (C callback)
Protected Member Functions inherited from inviwo::ObservableInterface
void addObservationHelper (Observer *observer)
virtual void addObserver (Observer *observer)=0
void removeObservationHelper (Observer *observer)
virtual void removeObserver (Observer *observer)=0

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:
  • modules/animation/include/modules/animation/datastructures/controlkeyframe.h