18 void SetCurveExtents(
double fLowerBound,
double fUpperBound,
bool bLowerIsFixed,
bool bUpperIsFixed);
19 void SetCurveRanges(
double fLowerRange,
double fUpperRange);
22 void SetScrubberPosition(plUInt64 uiTick);
23 void SetScrubberPosition(
plTime time);
24 void ClearSelection();
27 void FrameSelection();
28 void MakeRepeatable(
bool bAdjustLastPoint);
29 void NormalizeCurveX(plUInt32 uiActiveCurve);
30 void NormalizeCurveY(plUInt32 uiActiveCurve);
31 void ClearAllPoints();
32 void MirrorHorizontally(plUInt32 uiActiveCurve);
33 void MirrorVertically(plUInt32 uiActiveCurve);
36 void CpMovedEvent(plUInt32 uiCurveIdx, plUInt32 uiIdx, plInt64 iTickX,
double fNewPosY);
37 void CpDeletedEvent(plUInt32 uiCurveIdx, plUInt32 uiIdx);
38 void TangentMovedEvent(plUInt32 uiCurveIdx, plUInt32 uiIdx,
float fNewPosX,
float fNewPosY,
bool bRightTangent);
39 void InsertCpEvent(plUInt32 uiCurveIdx, plInt64 iTickX,
double value);
40 void TangentLinkEvent(plUInt32 uiCurveIdx, plUInt32 uiIdx,
bool bLink);
41 void CpTangentModeEvent(plUInt32 uiCurveIdx, plUInt32 uiIdx,
bool bRightTangent,
int iMode);
43 void BeginCpChangesEvent(QString sName);
44 void EndCpChangesEvent();
46 void BeginOperationEvent(QString sName);
47 void EndOperationEvent(
bool bCommit);
50 void on_LinePosition_editingFinished();
51 void on_LineValue_editingFinished();
52 void onDeleteControlPoints();
53 void onDoubleClick(
const QPointF& scenePos,
const QPointF& epsilon);
54 void onMoveControlPoints(
double x,
double y);
55 void onMoveTangents(
float x,
float y);
56 void onBeginOperation(QString name);
57 void onEndOperation(
bool commit);
58 void onScaleControlPoints(QPointF refPt,
double scaleX,
double scaleY);
59 void onContextMenu(QPoint pos, QPointF scenePos);
61 void onLinkTangents();
62 void onBreakTangents();
63 void onFlattenTangents();
64 void onSelectionChanged();
65 void onMoveCurve(plInt32 iCurve,
double moveY);
67 void onSaveAsPreset();
71 void InsertCpAt(
double posX,
double value,
plVec2d epsilon);
72 bool PickCurveAt(
double x,
double y,
double fMaxDistanceY, plInt32& out_iCurveIdx,
double& out_ValueY)
const;
73 bool PickControlPointAt(
double x,
double y,
plVec2d vMaxDistance, plInt32& out_iCurveIdx, plInt32& out_iCpIdx)
const;
74 void UpdateSpinBoxes();
75 void SetTangentMode(plCurveTangentMode::Enum mode,
bool bLeft,
bool bRight);
76 void ClampPoint(
double& x,
double& y)
const;
77 void SaveCurvePreset(
const char* szFile)
const;
78 plResult LoadCurvePreset(
const char* szFile);
79 void FindAllPresets();
81 double m_fCurveDuration;
86 QPointF m_ContextMenuScenePos;