NAP
Public Member Functions | Public Attributes | List of all members
DraggingControlPoint Class Reference

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 DraggingControlPoint (std::string trackID, std::string segmentID, int controlPointIndex, int curveIndex, float newTime, float newValue)
 
- 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

std::string mSegmentID
 
int mControlPointIndex
 
int mCurveIndex
 
float mNewTime
 
float mNewValue
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

TrackAction that tells the GUI we're currently dragging a curve control point

Inheritance diagram for DraggingControlPoint:
[legend]
Collaboration diagram for DraggingControlPoint:
[legend]

Constructor & Destructor Documentation

◆ DraggingControlPoint()

DraggingControlPoint ( std::string  trackID,
std::string  segmentID,
int  controlPointIndex,
int  curveIndex,
float  newTime,
float  newValue 
)

Constructor

Parameters
trackIDtrack ID of the track holding the curve segment containing this controlpoint
segmentIDsegment ID of the curve segment containing this controlpoint
controlPointIndexcontrol point index
curveIndexcurve index
newTimenew time
newValuenew value

Member Data Documentation

◆ mControlPointIndex

int mControlPointIndex

◆ mCurveIndex

int mCurveIndex

◆ mNewTime

float mNewTime

◆ mNewValue

float mNewValue

◆ mSegmentID

std::string mSegmentID