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

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 DraggingTanPoint (std::string trackID, std::string segmentID, int controlPointIndex, int curveIndex, sequencecurveenums::ETanPointTypes type)
 
- 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
 
sequencecurveenums::ETanPointTypes mType
 
float mNewValue = 0.0f
 
float mNewTime = 0.0f
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

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

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

Constructor & Destructor Documentation

◆ DraggingTanPoint()

DraggingTanPoint ( std::string  trackID,
std::string  segmentID,
int  controlPointIndex,
int  curveIndex,
sequencecurveenums::ETanPointTypes  type 
)

Constructor

Parameters
trackIDtrack id of the track holding the segment being edited
segmentIDthe segment being edited
controlPointIndexcontrol point index
curveIndexcurve index
typetan point type, in or out

Member Data Documentation

◆ mControlPointIndex

int mControlPointIndex

◆ mCurveIndex

int mCurveIndex

◆ mNewTime

float mNewTime = 0.0f

◆ mNewValue

float mNewValue = 0.0f

◆ mSegmentID

std::string mSegmentID

◆ mType