Isis 3 Programmer Reference
AdvancedStretch.h
1 #ifndef ADVANCEDSTRETCH_H
2 #define ADVANCEDSTRETCH_H
3 
4 #include <QWidget>
5 
6 class QStackedWidget;
7 class QComboBox;
8 class QLayout;
9 class QString;
10 class QColor;
11 
12 namespace Isis {
13  class AdvancedStretch;
14  class CubeViewport;
15  class Histogram;
16  class Stretch;
17  class CubeStretch;
18 
32  class AdvancedStretch : public QWidget {
33  Q_OBJECT
34 
35  public:
37  const QString &, const QColor &);
40  void setStretch(Stretch newStretch);
41  void restoreSavedStretch(CubeStretch newStretch);
42  void setHistogram(const Histogram &newHist);
43 
44  signals:
47  void saveToCube();
48  void deleteFromCube();
49  void loadStretch();
50 
51  private:
52  QStackedWidget *p_stretchTypeStack;
54  };
55 };
56 
57 
58 #endif
59 
Isis::AdvancedStretch::p_stretchTypeSelection
QComboBox * p_stretchTypeSelection
ComboBox of StretchTypes.
Definition: AdvancedStretch.h:53
Isis::AdvancedStretch
Advanced Stretch Dialog.
Definition: AdvancedStretch.h:32
QWidget
Isis::AdvancedStretch::AdvancedStretch
AdvancedStretch(Histogram &, const Stretch &, const QString &, const QColor &)
This constructs an advanced stretch.
Definition: AdvancedStretch.cpp:29
Isis::AdvancedStretch::p_stretchTypeStack
QStackedWidget * p_stretchTypeStack
StretchType's.
Definition: AdvancedStretch.h:52
Isis::Stretch
Pixel value mapper.
Definition: Stretch.h:58
Isis::AdvancedStretch::getStretch
CubeStretch getStretch()
This returns the current stretch type's stretch.
Definition: AdvancedStretch.cpp:102
Isis::AdvancedStretch::setHistogram
void setHistogram(const Histogram &newHist)
This is called when the visible area changes, so that the histogram can be updated.
Definition: AdvancedStretch.cpp:158
Isis::AdvancedStretch::stretchChanged
void stretchChanged()
Emitted when a new stretch is available.
Isis::AdvancedStretch::restoreSavedStretch
void restoreSavedStretch(CubeStretch newStretch)
Used to restore a saved Stretch from a cube.
Definition: AdvancedStretch.cpp:129
Isis::CubeStretch
Stores stretch information for a cube.
Definition: CubeStretch.h:27
QComboBox
Isis::AdvancedStretch::~AdvancedStretch
~AdvancedStretch()
Destructor.
Definition: AdvancedStretch.cpp:93
Isis::Histogram
Container of a cube histogram.
Definition: Histogram.h:74
Isis::AdvancedStretch::setStretch
void setStretch(Stretch newStretch)
This is called when the user creates a stretch outside of the advanced stretch.
Definition: AdvancedStretch.cpp:115
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16