#include <sequencecurvetrackview_guiactions.h>
Public Member Functions | |
CurvePointActionPopup (const std::string &trackID, std::string segmentID, int controlPointIndex, int curveIndex, float value, float time, T minimum, T maximum) | |
![]() | |
TrackAction (std::string trackID) | |
![]() | |
virtual | ~Action ()=default |
template<typename T > | |
bool | isAction () |
template<typename T > | |
T * | getDerived () |
Public Attributes | |
bool | mOpened = false |
std::string | mSegmentID |
int | mControlPointIndex |
int | mCurveIndex |
float | mValue |
T | mMinimum |
T | mMaximum |
float | mTime |
![]() | |
std::string | mTrackID |
![]() | |
bool | mTakeSnapshot = true |
TrackAction that tells the GUI we're inside an insert curve point action popup for a curved segment
T | the type of curve segment |
CurvePointActionPopup | ( | const std::string & | trackID, |
std::string | segmentID, | ||
int | controlPointIndex, | ||
int | curveIndex, | ||
float | value, | ||
float | time, | ||
T | minimum, | ||
T | maximum | ||
) |
Constructor
trackID | track id of the track holding the segment being edited |
segmentID | the segment being edited |
controlPointIndex | the control point index |
curveIndex | the curve index |
value | the new value of the curve point |
time | the new time of the curve point, time is in percentage normalized between 0 and 1. F.E. 0.5 is half of segment duration |
minimum | minimum value of the curve point |
maximum | maximum value of the curve point |
int mControlPointIndex |
int mCurveIndex |
T mMaximum |
T mMinimum |
bool mOpened = false |
std::string mSegmentID |
float mTime |
float mValue |