|
Isis 3.0 Object Programmers' Reference |
Home |
Abstract class for complex stretch objects. More...
#include <QStretch.h>


Signals | |
| void | update () |
| Signal to emit when this QStretch has been updated. | |
Public Member Functions | |
| QStretch (const StretchTool *stretchTool, QString name) | |
| QStretch Constructor. | |
| virtual QStretch * | clone ()=0 |
| Abstract method to clone a QStretch in order to retain its parameters and stretch pairs. | |
| virtual void | connectTable (QTableWidget *widget) |
| Abstract method to connect the AdvancedStretchTool's table of stretch pairs in order to modify it if necessary. | |
| virtual void | disconnectTable (QTableWidget *widget) |
| Abstract method to disconnect the AdvancedStretchTool's table of stretch pairs. | |
| virtual QGroupBox * | getParameters ()=0 |
| Abstract method to return a QGroupBox of this QStretch's parameters. | |
| QString | name () |
| This method returns the name of this QStretch. | |
| Stretch | stretch () |
| This method returns the stretch. | |
| virtual void | setMinMax (double min, double max) |
| Abstract method to set the minimum and maximum values that stretch input pairs can be set to. | |
Protected Attributes | |
| const StretchTool * | p_stretchTool |
| The StretchTool that created this QStretch. | |
| QString | p_name |
| The name of this QStretch. | |
| double | p_min |
| The minimum value a stretch input pair can be set to. | |
| double | p_max |
| The maximum value a stretch input pair can be set to. | |
| QGroupBox * | p_parametersBox |
| The QGroupBox that holds this QStretch's parameters. | |
| Stretch | p_stretch |
| The stretch that this QStretch modifies. | |
Abstract class for complex stretch objects.
This class serves as the parent class to complex stretch objects that are used by the AdvancedStretchTool. It must define parameters to manipulate its stretch pairs that will be used by the AdvancedStretchTool's 'Advanced' dialog.
For internal use only.
Definition at line 26 of file QStretch.h.
| Isis::QStretch::QStretch | ( | const StretchTool * | stretchTool, | |
| QString | name | |||
| ) | [inline] |
QStretch Constructor.
StretchTool can not be null.
Initializes the stretch and sets its special pixel values to their defaults.
| stretchTool | ||
| name |
Definition at line 39 of file QStretch.h.
References p_stretch, Isis::Stretch::SetHis(), Isis::Stretch::SetHrs(), Isis::Stretch::SetLis(), Isis::Stretch::SetLrs(), and Isis::Stretch::SetNull().
| virtual QStretch* Isis::QStretch::clone | ( | ) | [pure virtual] |
Abstract method to clone a QStretch in order to retain its parameters and stretch pairs.
This method must be overridden.
| virtual void Isis::QStretch::connectTable | ( | QTableWidget * | widget | ) | [inline, virtual] |
Abstract method to connect the AdvancedStretchTool's table of stretch pairs in order to modify it if necessary.
The default implementation is to do nothing.
| widget |
Definition at line 71 of file QStretch.h.
| virtual void Isis::QStretch::disconnectTable | ( | QTableWidget * | widget | ) | [inline, virtual] |
Abstract method to disconnect the AdvancedStretchTool's table of stretch pairs.
The default implementation is to do nothing.
| widget |
Definition at line 79 of file QStretch.h.
| virtual QGroupBox* Isis::QStretch::getParameters | ( | ) | [pure virtual] |
Abstract method to return a QGroupBox of this QStretch's parameters.
This method must be overridden.
| QString Isis::QStretch::name | ( | ) | [inline] |
This method returns the name of this QStretch.
Definition at line 96 of file QStretch.h.
References p_name.
| virtual void Isis::QStretch::setMinMax | ( | double | min, | |
| double | max | |||
| ) | [inline, virtual] |
Abstract method to set the minimum and maximum values that stretch input pairs can be set to.
| min | ||
| max |
Definition at line 117 of file QStretch.h.
| Stretch Isis::QStretch::stretch | ( | ) | [inline] |
This method returns the stretch.
Definition at line 106 of file QStretch.h.
References p_stretch.
| void Isis::QStretch::update | ( | ) | [signal] |
Signal to emit when this QStretch has been updated.
double Isis::QStretch::p_max [protected] |
The maximum value a stretch input pair can be set to.
Definition at line 132 of file QStretch.h.
Referenced by setMinMax().
double Isis::QStretch::p_min [protected] |
The minimum value a stretch input pair can be set to.
Definition at line 131 of file QStretch.h.
Referenced by setMinMax().
QString Isis::QStretch::p_name [protected] |
QGroupBox* Isis::QStretch::p_parametersBox [protected] |
The QGroupBox that holds this QStretch's parameters.
Definition at line 133 of file QStretch.h.
Stretch Isis::QStretch::p_stretch [protected] |
The stretch that this QStretch modifies.
Definition at line 134 of file QStretch.h.
Referenced by QStretch(), and stretch().
const StretchTool* Isis::QStretch::p_stretchTool [protected] |
The StretchTool that created this QStretch.
Definition at line 129 of file QStretch.h.