Isis 3 Programmer Reference
AdvancedStretch.h
1 #ifndef ADVANCEDSTRETCH_H
2 #define ADVANCEDSTRETCH_H
3 
4 #include <QWidget>
5 
6 class QStackedWidget;
7 class QLayout;
8 class QString;
9 class QColor;
10 
11 namespace Isis {
12  class AdvancedStretch;
13  class CubeViewport;
14  class Histogram;
15  class Stretch;
16 
30  class AdvancedStretch : public QWidget {
31  Q_OBJECT
32 
33  public:
35  const QString &, const QColor &);
38  void setStretch(Stretch newStretch);
39  void setHistogram(const Histogram &newHist);
40 
41  signals:
43  void stretchChanged();
44 
45  protected:
46 
47  private:
48  QStackedWidget *p_stretchTypeStack;
49  };
50 };
51 
52 
53 #endif
54 
QStackedWidget * p_stretchTypeStack
StretchType&#39;s.
AdvancedStretch(Histogram &, const Stretch &, const QString &, const QColor &)
This constructs an advanced stretch.
~AdvancedStretch()
Destructor.
void stretchChanged()
Emitted when a new stretch is available.
void setHistogram(const Histogram &newHist)
This is called when the visible area changes, so that the histogram can be updated.
Container of a cube histogram.
Definition: Histogram.h:86
Pixel value mapper.
Definition: Stretch.h:72
Advanced Stretch Dialog.
void setStretch(Stretch newStretch)
This is called when the user creates a stretch outside of the advanced stretch.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Stretch getStretch()
This returns the current stretch type&#39;s stretch.