Abstract class for complex stretch objects.
Definition QStretch.h:26
Stretch stretch()
This method returns the stretch.
Definition QStretch.h:106
QString name()
This method returns the name of this QStretch.
Definition QStretch.h:96
virtual QStretch * clone()=0
Abstract method to clone a QStretch in order to retain its parameters and stretch pairs.
QGroupBox * p_parametersBox
The QGroupBox that holds this QStretch's parameters.
Definition QStretch.h:133
void update()
Signal to emit when this QStretch has been updated.
virtual void setMinMax(double min, double max)
Abstract method to set the minimum and maximum values that stretch input pairs can be set to.
Definition QStretch.h:117
QString p_name
The name of this QStretch.
Definition QStretch.h:130
Stretch p_stretch
The stretch that this QStretch modifies.
Definition QStretch.h:134
virtual void connectTable(QTableWidget *widget)
Abstract method to connect the AdvancedStretchTool's table of stretch pairs in order to modify it if ...
Definition QStretch.h:71
double p_min
The minimum value a stretch input pair can be set to.
Definition QStretch.h:131
virtual void disconnectTable(QTableWidget *widget)
Abstract method to disconnect the AdvancedStretchTool's table of stretch pairs.
Definition QStretch.h:79
virtual QGroupBox * getParameters()=0
Abstract method to return a QGroupBox of this QStretch's parameters.
double p_max
The maximum value a stretch input pair can be set to.
Definition QStretch.h:132
const StretchTool * p_stretchTool
The StretchTool that created this QStretch.
Definition QStretch.h:129
QStretch(const StretchTool *stretchTool, QString name)
QStretch Constructor.
Definition QStretch.h:39
Pixel value mapper.
Definition Stretch.h:58
void SetNull(const double value)
Sets the mapping for NULL pixels.
Definition Stretch.h:94
void SetMaximum(const double value)
Definition Stretch.h:145
void SetHrs(const double value)
Sets the mapping for HRS pixels.
Definition Stretch.h:138
void SetMinimum(const double value)
Definition Stretch.h:142
void SetHis(const double value)
Sets the mapping for HIS pixels.
Definition Stretch.h:127
void SetLis(const double value)
Sets the mapping for LIS pixels.
Definition Stretch.h:105
void SetLrs(const double value)
Sets the mapping for LRS pixels.
Definition Stretch.h:116
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16