58 cachedInterpolationMode(keyframe->interpolationMode(), interpolationMode),
59 cachedTangentsMode(keyframe->tangentsMode(), tangentMode),
60 cachedTangentLeft(keyframe->leftTangent(), tangentLeft),
61 cachedTangentRight(keyframe->rightTangent(), tangentRight)
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....
virtual void insertKeyframe(int time, KisKeyframeSP keyframe, KUndo2Command *parentUndoCmd=nullptr)
Insert an existing keyframe into the channel at the specified time.
virtual void removeKeyframe(int time, KUndo2Command *parentUndoCmd=nullptr)
Remove a keyframe from the channel at the specified time.
KisKeyframeSP keyframeAt(int time) const
Get a keyframe at specified time. Used primarily when the value of a given keyframe is needed.
KisRemoveKeyframeCommand(KisKeyframeChannel *channel, int time, KUndo2Command *parentCmd=nullptr)
KisKeyframeChannel * m_channel
UndoStore< qreal > cachedValue
UndoStore< QPointF > cachedTangentRight
KisScalarKeyframe * keyframe
UndoStore< KisScalarKeyframe::TangentsMode > cachedTangentsMode
UndoStore< KisScalarKeyframe::InterpolationMode > cachedInterpolationMode
UndoStore< QPointF > cachedTangentLeft
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 m_tangentsMode
InterpolationMode m_interpolationMode
void sigChanged(const KisScalarKeyframe *scalarKey)
TangentsMode
Controls the behavior of the left and right tangents on a given keyframe for different curve shapes.
QWeakPointer< ScalarKeyframeLimits > m_channelLimits