8#ifndef KIS_KEYFRAME_COMMANDS_H
9#define KIS_KEYFRAME_COMMANDS_H
14#include "kritaimage_export.h"
66 keyframe->m_rightTangent, parentCmd) {};
73 keyframe->m_rightTangent, parentCmd) {};
79 tangentMode,
keyframe->m_leftTangent,
80 keyframe->m_rightTangent, parentCmd) {};
87 keyframe->m_tangentsMode, tangentLeft,
88 tangentRight, parentCmd) {};
float value(const T *src, size_t ch)
virtual QTime time() const
KisKeyframeSP m_overwritten
KisInsertKeyframeCommand(KisKeyframeChannel *channel, int time, KisKeyframeSP keyframe, KUndo2Command *parentCmd=nullptr)
KisKeyframeChannel * m_channel
KisKeyframeChannel stores and manages KisKeyframes. Maps units of time to virtual keyframe values....
KisRemoveKeyframeCommand(KisKeyframeChannel *channel, int time, KUndo2Command *parentCmd=nullptr)
KisKeyframeChannel * m_channel
UndoStore< qreal > cachedValue
KisScalarKeyframeUpdateCommand(KisScalarKeyframe *keyframe, KisScalarKeyframe::TangentsMode tangentMode, KUndo2Command *parentCmd)
UndoStore< QPointF > cachedTangentRight
KisScalarKeyframe * keyframe
KisScalarKeyframeUpdateCommand(KisScalarKeyframe *keyframe, KisScalarKeyframe::InterpolationMode interpMode, KUndo2Command *parentCmd)
UndoStore< KisScalarKeyframe::TangentsMode > cachedTangentsMode
KisScalarKeyframeUpdateCommand(KisScalarKeyframe *keyframe, qreal value, KUndo2Command *parentCmd)
UndoStore< KisScalarKeyframe::InterpolationMode > cachedInterpolationMode
UndoStore< QPointF > cachedTangentLeft
KisScalarKeyframeUpdateCommand(KisScalarKeyframe *keyframe, QPointF tangentLeft, QPointF tangentRight, KUndo2Command *parentCmd)
KisScalarKeyframeUpdateCommand(KisScalarKeyframe *keyframe, qreal value, KisScalarKeyframe::InterpolationMode interpolationMode, KisScalarKeyframe::TangentsMode tangentMode, QPointF tangentLeft, QPointF tangentRight, KUndo2Command *parentCmd)
The KisScalarKeyframe class is a concrete subclass of KisKeyframe that wraps a scalar value and inter...
InterpolationMode
Controls the type of interpolation between this KisScalarKeyframe and the next.
TangentsMode
Controls the behavior of the left and right tangents on a given keyframe for different curve shapes.