Advanced Stretch Dialog.
More...
#include <AdvancedStretchDialog.h>
|
| | AdvancedStretchDialog (QWidget *parent) |
| | This constructs an advanced stretch.
|
| |
| | ~AdvancedStretchDialog () |
| | This destroys the advanced stretch dialog.
|
| |
| void | enableRgbMode (Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist) |
| | This displays RGB advanced stretches.
|
| |
| void | updateHistograms (const Histogram &redHist, const Histogram &grnHist, const Histogram &bluHist) |
| | This calls setHistogram on all of the advanced stretches.
|
| |
| void | updateForRGBMode (Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist) |
| | Update the stretch and histogram for all the bands for All BandId option.
|
| |
| void | enableGrayMode (Stretch &grayStretch, Histogram &grayHist) |
| | This displays a gray advanced stretch.
|
| |
| void | updateHistogram (const Histogram &grayHist) |
| | This calls setHistogram on the gray advanced stretches.
|
| |
| bool | isRgbMode () const |
| | Returns true if the dialog is displaying the RGB advanced stretches.
|
| |
| void | restoreGrayStretch (CubeStretch stretch) |
| | Restores a saved grayscale stretch from the cube.
|
| |
| void | restoreRgbStretch (CubeStretch red, CubeStretch green, CubeStretch blue) |
| | Restores a saved RGB stretch from the cube.
|
| |
| CubeStretch | getGrayStretch () |
| | This returns the advanced stretch's stretch for gray.
|
| |
| CubeStretch | getRedStretch () |
| | This returns the advanced stretch's stretch for red.
|
| |
| CubeStretch | getGrnStretch () |
| | This returns the advanced stretch's stretch for green.
|
| |
| CubeStretch | getBluStretch () |
| | This returns the advanced stretch's stretch for blue.
|
| |
| bool | enabled () |
| | Returns true if the advanced stretch is enabled.
|
| |
| void | enable (bool enable) |
| | Sets the enabled state to enable.
|
| |
|
| void | showEvent (QShowEvent *) |
| | This is implemented to send a signal when visibility changes.
|
| |
| void | hideEvent (QHideEvent *) |
| | This is implemented to send a signal when visibility changes.
|
| |
Advanced Stretch Dialog.
- Author
- 2010-05-20 Steven Lambright
◆ AdvancedStretchDialog()
| Isis::AdvancedStretchDialog::AdvancedStretchDialog |
( |
QWidget * | parent | ) |
|
This constructs an advanced stretch.
- Parameters
-
◆ ~AdvancedStretchDialog()
| Isis::AdvancedStretchDialog::~AdvancedStretchDialog |
( |
| ) |
|
This destroys the advanced stretch dialog.
◆ deleteFromCube
| void Isis::AdvancedStretchDialog::deleteFromCube |
( |
| ) |
|
|
signal |
◆ enable()
| void Isis::AdvancedStretchDialog::enable |
( |
bool | enable | ) |
|
|
inline |
Sets the enabled state to enable.
- Parameters
-
References enable().
Referenced by enable().
◆ enabled()
| bool Isis::AdvancedStretchDialog::enabled |
( |
| ) |
|
|
inline |
Returns true if the advanced stretch is enabled.
- Returns
◆ enableGrayMode()
| void Isis::AdvancedStretchDialog::enableGrayMode |
( |
Stretch & | grayStretch, |
|
|
Histogram & | grayHist ) |
◆ enableRgbMode()
◆ getBluStretch()
| CubeStretch Isis::AdvancedStretchDialog::getBluStretch |
( |
| ) |
|
◆ getGrayStretch()
| CubeStretch Isis::AdvancedStretchDialog::getGrayStretch |
( |
| ) |
|
◆ getGrnStretch()
| CubeStretch Isis::AdvancedStretchDialog::getGrnStretch |
( |
| ) |
|
◆ getRedStretch()
| CubeStretch Isis::AdvancedStretchDialog::getRedStretch |
( |
| ) |
|
◆ hideEvent
| void Isis::AdvancedStretchDialog::hideEvent |
( |
QHideEvent * | event | ) |
|
|
protectedslot |
This is implemented to send a signal when visibility changes.
- Parameters
-
References visibilityChanged().
◆ isRgbMode()
| bool Isis::AdvancedStretchDialog::isRgbMode |
( |
| ) |
const |
Returns true if the dialog is displaying the RGB advanced stretches.
- Returns
- bool
Referenced by restoreRgbStretch().
◆ loadStretch
| void Isis::AdvancedStretchDialog::loadStretch |
( |
| ) |
|
|
signal |
◆ restoreGrayStretch()
| void Isis::AdvancedStretchDialog::restoreGrayStretch |
( |
CubeStretch | stretch | ) |
|
◆ restoreRgbStretch()
◆ saveToCube
| void Isis::AdvancedStretchDialog::saveToCube |
( |
| ) |
|
|
signal |
◆ showEvent
| void Isis::AdvancedStretchDialog::showEvent |
( |
QShowEvent * | event | ) |
|
|
protectedslot |
This is implemented to send a signal when visibility changes.
- Parameters
-
References visibilityChanged().
◆ stretchChanged
| void Isis::AdvancedStretchDialog::stretchChanged |
( |
| ) |
|
|
signal |
◆ updateForRGBMode()
Update the stretch and histogram for all the bands for All BandId option.
- Author
- Sharmila Prasad (3/14/2011)
- Parameters
-
◆ updateHistogram()
| void Isis::AdvancedStretchDialog::updateHistogram |
( |
const Histogram & | grayHist | ) |
|
This calls setHistogram on the gray advanced stretches.
This should be called every time the visible area changes.
- Parameters
-
| grayHist | Histogram of visible area on gray band |
◆ updateHistograms()
This calls setHistogram on all of the advanced stretches.
This should be called every time the visible area changes.
- Parameters
-
| redHist | Histogram of visible area on red band |
| grnHist | Histogram of visible area on green band |
| bluHist | Histogram of visible area on blue band |
◆ updateStretch
| void Isis::AdvancedStretchDialog::updateStretch |
( |
CubeViewport * | cvp | ) |
|
|
slot |
◆ visibilityChanged
| void Isis::AdvancedStretchDialog::visibilityChanged |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following files: