|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ADVANCEDSTRETCHDIALOG_H
2 #define ADVANCEDSTRETCHDIALOG_H
16 class AdvancedStretch;
95 void destroyCurrentStretches();
Advanced Stretch Dialog.
Definition: AdvancedStretch.h:32
bool isRgbMode() const
Returns true if the dialog is displaying the RGB advanced stretches.
Definition: AdvancedStretchDialog.cpp:340
void restoreRgbStretch(CubeStretch red, CubeStretch green, CubeStretch blue)
Restores a saved RGB stretch from the cube.
Definition: AdvancedStretchDialog.cpp:194
void updateHistogram(const Histogram &grayHist)
This calls setHistogram on the gray advanced stretches.
Definition: AdvancedStretchDialog.cpp:306
void hideEvent(QHideEvent *)
This is implemented to send a signal when visibility changes.
Definition: AdvancedStretchDialog.cpp:328
CubeStretch getGrayStretch()
This returns the advanced stretch's stretch for gray.
Definition: AdvancedStretchDialog.cpp:350
void updateStretch(CubeViewport *)
This calls setStretch on all applicable advanced stretches.
Definition: AdvancedStretchDialog.cpp:260
Pixel value mapper.
Definition: Stretch.h:58
CubeStretch getStretch()
This returns the current stretch type's stretch.
Definition: AdvancedStretch.cpp:102
Advanced Stretch Dialog.
Definition: AdvancedStretchDialog.h:30
void setHistogram(const Histogram &newHist)
This is called when the visible area changes, so that the histogram can be updated.
Definition: AdvancedStretch.cpp:158
void restoreSavedStretch(CubeStretch newStretch)
Used to restore a saved Stretch from a cube.
Definition: AdvancedStretch.cpp:129
void visibilityChanged()
Emitted when this dialog is shown or hidden.
Stores stretch information for a cube.
Definition: CubeStretch.h:27
CubeStretch greenStretch() const
Return the green band stretch.
Definition: CubeViewport.cpp:1674
CubeStretch redStretch() const
Return the red band stretch.
Definition: CubeViewport.cpp:1668
void stretchChanged()
Emitted when an advanced stretch has changed.
CubeStretch getBluStretch()
This returns the advanced stretch's stretch for blue.
Definition: AdvancedStretchDialog.cpp:398
void restoreGrayStretch(CubeStretch stretch)
Restores a saved grayscale stretch from the cube.
Definition: AdvancedStretchDialog.cpp:176
CubeStretch blueStretch() const
Return the blue band stretch.
Definition: CubeViewport.cpp:1680
void updateHistograms(const Histogram &redHist, const Histogram &grnHist, const Histogram &bluHist)
This calls setHistogram on all of the advanced stretches.
Definition: AdvancedStretchDialog.cpp:284
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
CubeStretch grayStretch() const
Return the gray band stretch.
Definition: CubeViewport.cpp:1662
CubeStretch getRedStretch()
This returns the advanced stretch's stretch for red.
Definition: AdvancedStretchDialog.cpp:366
AdvancedStretchDialog(QWidget *parent)
This constructs an advanced stretch.
Definition: AdvancedStretchDialog.cpp:18
Isis exception class.
Definition: IException.h:91
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
void showEvent(QShowEvent *)
This is implemented to send a signal when visibility changes.
Definition: AdvancedStretchDialog.cpp:317
void enable(bool enable)
Sets the enabled state to enable.
Definition: AdvancedStretchDialog.h:74
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
void enableGrayMode(Stretch &grayStretch, Histogram &grayHist)
This displays a gray advanced stretch.
Definition: AdvancedStretchDialog.cpp:151
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.
Definition: AdvancedStretchDialog.cpp:122
Container of a cube histogram.
Definition: Histogram.h:74
~AdvancedStretchDialog()
This destroys the advanced stretch dialog.
Definition: AdvancedStretchDialog.cpp:37
void setStretch(Stretch newStretch)
This is called when the user creates a stretch outside of the advanced stretch.
Definition: AdvancedStretch.cpp:115
bool enabled()
Returns true if the advanced stretch is enabled.
Definition: AdvancedStretchDialog.h:65
CubeStretch getGrnStretch()
This returns the advanced stretch's stretch for green.
Definition: AdvancedStretchDialog.cpp:382
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
void enableRgbMode(Stretch &redStretch, Histogram &redHist, Stretch &grnStretch, Histogram &grnHist, Stretch &bluStretch, Histogram &bluHist)
This displays RGB advanced stretches.
Definition: AdvancedStretchDialog.cpp:52