#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) | |
Public Member Functions inherited from TrackAction | |
| TrackAction (std::string trackID) | |
Public Member Functions inherited from Action | |
| 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 |
Public Attributes inherited from TrackAction | |
| std::string | mTrackID |
Public Attributes inherited from Action | |
| 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 |