NAP
Public Member Functions | Public Attributes | List of all members
EditingSegmentCurveValue< T > Class Template Reference

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 EditingSegmentCurveValue (const std::string &trackId, std::string segmentID, sequencecurveenums::ESegmentValueTypes type, int curveIndex, T value, 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
 
sequencecurveenums::ESegmentValueTypes mType
 
int mCurveIndex
 
mValue
 
mMinimum
 
mMaximum
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

template<typename T>
class nap::sequenceguiactions::EditingSegmentCurveValue< T >

TrackAction that tells the GUI we're inside an edit curve value popup

Template Parameters
Tvalue type of curve
Inheritance diagram for EditingSegmentCurveValue< T >:
[legend]
Collaboration diagram for EditingSegmentCurveValue< T >:
[legend]

Constructor & Destructor Documentation

◆ EditingSegmentCurveValue()

EditingSegmentCurveValue ( const std::string &  trackId,
std::string  segmentID,
sequencecurveenums::ESegmentValueTypes  type,
int  curveIndex,
value,
minimum,
maximum 
)

Constructor

Parameters
trackIdtrack id of the track holding the segment being edited
segmentIDthe segment being edited
typesegment value type, begin or end
curveIndexthe index of the curve
valuethe new value
minimumthe new minimum
maximumthe new maximum

Member Data Documentation

◆ mCurveIndex

int mCurveIndex

◆ mMaximum

T mMaximum

◆ mMinimum

T mMinimum

◆ mOpened

bool mOpened = false

◆ mSegmentID

std::string mSegmentID

◆ mType

◆ mValue

T mValue