|
Isis 3 Programmer Reference
|
1 #ifndef ADVANCEDSTRETCHDIALOG_H
2 #define ADVANCEDSTRETCHDIALOG_H
16 class AdvancedStretch;
84 void deleteFromCube();
bool isRgbMode() const
Returns true if the dialog is displaying the RGB advanced stretches.
void restoreRgbStretch(CubeStretch red, CubeStretch green, CubeStretch blue)
Restores a saved RGB stretch from the cube.
void updateHistogram(const Histogram &grayHist)
This calls setHistogram on the gray advanced stretches.
void hideEvent(QHideEvent *)
This is implemented to send a signal when visibility changes.
CubeStretch getGrayStretch()
This returns the advanced stretch's stretch for gray.
void updateStretch(CubeViewport *)
This calls setStretch on all applicable advanced stretches.
void visibilityChanged()
Emitted when this dialog is shown or hidden.
Stores stretch information for a cube.
AdvancedStretch * p_grnStretch
Green stretch pane.
void stretchChanged()
Emitted when an advanced stretch has changed.
CubeStretch getBluStretch()
This returns the advanced stretch's stretch for blue.
void restoreGrayStretch(CubeStretch stretch)
Restores a saved grayscale stretch from the cube.
void updateHistograms(const Histogram &redHist, const Histogram &grnHist, const Histogram &bluHist)
This calls setHistogram on all of the advanced stretches.
bool p_enabled
True if advanced stretch should be used.
AdvancedStretch * p_bluStretch
Blue stretch pane.
CubeStretch getRedStretch()
This returns the advanced stretch's stretch for red.
AdvancedStretch * p_redStretch
Red stretch pane.
AdvancedStretchDialog(QWidget *parent)
This constructs an advanced stretch.
Widget to display Isis cubes for qt apps.
void showEvent(QShowEvent *)
This is implemented to send a signal when visibility changes.
void enable(bool enable)
Sets the enabled state to enable.
void enableGrayMode(Stretch &grayStretch, Histogram &grayHist)
This displays a gray advanced stretch.
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.
Container of a cube histogram.
~AdvancedStretchDialog()
This destroys the advanced stretch dialog.
AdvancedStretch * p_grayStretch
Gray stretch pane.
bool enabled()
Returns true if the advanced stretch is enabled.
CubeStretch getGrnStretch()
This returns the advanced stretch's stretch for green.
void destroyCurrentStretches()
This cleans up memory from currently displayed advanced stretches.
This is free and unencumbered software released into the public domain.
void enableRgbMode(Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist)
This displays RGB advanced stretches.