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

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 InsertingCurvePoint (std::string trackID, std::string segmentID, int selectedCurve, float pos)
 
- 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 mSelectedIndex
 
float mPos
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

TrackAction that tells the GUI we're inside an insert curve point popup

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

Constructor & Destructor Documentation

◆ InsertingCurvePoint()

InsertingCurvePoint ( std::string  trackID,
std::string  segmentID,
int  selectedCurve,
float  pos 
)

Constructor

Parameters
trackIDtrack id of the track that contains the segment we want to edit
segmentIDthe segment id we want to edit
selectedCurvethe selected curve index
posnormalized position on curve

Member Data Documentation

◆ mOpened

bool mOpened = false

◆ mPos

float mPos

◆ mSegmentID

std::string mSegmentID

◆ mSelectedIndex

int mSelectedIndex