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

#include <sequencecurvetrackview_guiactions.h>

Public Member Functions

 ChangeMinMaxCurve (const std::string &trackID, T newMin, T newMax)
 
- 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

mNewMin
 
mNewMax
 
- Public Attributes inherited from TrackAction
std::string mTrackID
 

Description

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

A TrackAction that tells the GUI to change min max of the curved track

Template Parameters
Tvalue type of the curved track
Inheritance diagram for ChangeMinMaxCurve< T >:
[legend]
Collaboration diagram for ChangeMinMaxCurve< T >:
[legend]

Constructor & Destructor Documentation

◆ ChangeMinMaxCurve()

ChangeMinMaxCurve ( const std::string &  trackID,
newMin,
newMax 
)

Constructor

Parameters
trackIDtrack id of the track holding the segment being edited
newMinthe new minimum value
newMaxthe new maximum value

Member Data Documentation

◆ mNewMax

T mNewMax

◆ mNewMin

T mNewMin