8 #include "sequencecontroller.h"
9 #include "sequencecurveenums.h"
10 #include "sequencetrackcurve.h"
13 #include <mathutils.h>
19 class SequenceService;
43 double segmentDurationChange(
const std::string& trackID,
const std::string& segmentID,
float duration,
bool adjustFollowingSegments);
51 void setSegmentLocked(
const std::string& trackID,
const std::string& segmentID,
bool locked);
57 void addNewCurveTrack();
67 void changeCurveSegmentValue(
const std::string& trackID,
const std::string& segmentID,
float newValue,
77 void insertCurvePoint(
const std::string& trackID,
const std::string& segmentID,
float pos,
int curveIndex);
86 void deleteCurvePoint(
const std::string& trackID,
const std::string& segmentID,
int index,
int curveIndex);
97 void changeCurvePoint(
const std::string& trackID,
const std::string& segmentID,
int pointIndex,
int curveIndex,
98 float time,
float value);
111 bool changeTanPoint(
const std::string& trackID,
const std::string& segmentID,
int pointIndex,
int curveIndex,
121 void changeMinMaxCurveTrack(
const std::string& trackID, T minimum, T maximum);
145 void deleteSegment(
const std::string& trackID,
const std::string& segmentID)
override;
157 void updateCurveSegments(
const std::string& trackID);
166 void changeCurveType(
const std::string& trackID,
const std::string& segmentID,
math::ECurveInterp type,
175 void changeSegmentColor(
const std::string& trackID,
const std::string& segmentID,
const RGBAColorFloat& newColor);
206 bool changeTanPoint(
SequenceTrackSegment& segment,
const std::string& trackID,
int pointIndex,
int curveIndex,
218 void changeCurvePoint(
SequenceTrackSegment& segment,
int pointIndex,
int curveIndex,
float time,
float value);
221 void changeLastCurvePoint(
SequenceTrackSegment& segment,
int curveIndex,
float time,
float value);
256 std::unordered_map<rttr::type, std::function<
const SequenceTrackSegment*(
const std::string&,double)>> mInsertSegmentFunctionMap;
277 void NAPAPI SequenceControllerCurve::changeMinMaxCurveTrack<float>(
const std::string& trackID,
float minimum,
float maximum);
280 #include "sequencecontrollercurve_template.h"
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceControllerCurve *)> > mInsertTrackFunctionMap
Definition: sequencecontrollercurve.h:262
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrackSegment &, const int, int)> > mDeleteCurvePointFunctionMap
Definition: sequencecontrollercurve.h:266
ETanPointTypes
Definition: sequencecurveenums.h:13
Definition: sequenceplayer.h:37
ECurveInterp
Definition: fcurve.h:20
Definition: sequenceeditor.h:49
Definition: sequencecontroller.h:25
ESegmentValueTypes
Definition: sequencecurveenums.h:18
Definition: sequenceservice.h:42
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrack &, SequenceTrackSegment &segment, float, int, sequencecurveenums::ESegmentValueTypes)> > mChangeSegmentValueFunctionMap
Definition: sequencecontrollercurve.h:268
Definition: sequencetracksegment.h:19
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrackSegment &, float, int)> > mInsertCurvePointFunctionMap
Definition: sequencecontrollercurve.h:267
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrackSegment &, const int, const int, float, float)> > mChangeCurvePointFunctionMap
Definition: sequencecontrollercurve.h:264
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrackSegment &, const int, float, float)> > mChangeLastCurvePointFunctionMap
Definition: sequencecontrollercurve.h:265
std::unordered_map< rtti::TypeInfo, std::function< void(SequenceTrackSegment &, math::ECurveInterp type, int curveIndex)> > mChangeCurveTypeFunctionMap
Definition: sequencecontrollercurve.h:269
Definition: sequencetrack.h:22
Definition: sequencecontrollercurve.h:24
std::unordered_map< rtti::TypeInfo, std::function< bool(SequenceTrackSegment &, const std::string &, const int, const int, sequencecurveenums::ETanPointTypes, float, float)> > mChangeTanPointFunctionMap
Definition: sequencecontrollercurve.h:263
std::unordered_map< rttr::type, std::function< void(SequenceTrack &)> > mUpdateSegmentFunctionMap
Definition: sequencecontrollercurve.h:253
Definition: templateapp.h:17
rttr::type TypeInfo
Definition: typeinfo.h:140