Isis Developer Reference
AdvancedStretch.h
Go to the documentation of this file.
1#ifndef ADVANCEDSTRETCH_H
2#define ADVANCEDSTRETCH_H
3
4#include <QWidget>
5
6class QStackedWidget;
7class QComboBox;
8class QLayout;
9class QString;
10class QColor;
11
12namespace 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();
50
51 private:
52 QStackedWidget *p_stretchTypeStack;
53 QComboBox *p_stretchTypeSelection;
54 };
55};
56
57
58#endif
59
Advanced Stretch Dialog.
Definition AdvancedStretch.h:32
void stretchChanged()
Emitted when a new stretch is available.
void setStretch(Stretch newStretch)
This is called when the user creates a stretch outside of the advanced stretch.
Definition AdvancedStretch.cpp:115
~AdvancedStretch()
Destructor.
Definition AdvancedStretch.cpp:93
void setHistogram(const Histogram &newHist)
This is called when the visible area changes, so that the histogram can be updated.
Definition AdvancedStretch.cpp:158
AdvancedStretch(Histogram &, const Stretch &, const QString &, const QColor &)
This constructs an advanced stretch.
Definition AdvancedStretch.cpp:29
CubeStretch getStretch()
This returns the current stretch type's stretch.
Definition AdvancedStretch.cpp:102
void restoreSavedStretch(CubeStretch newStretch)
Used to restore a saved Stretch from a cube.
Definition AdvancedStretch.cpp:129
Stores stretch information for a cube.
Definition CubeStretch.h:27
Container of a cube histogram.
Definition Histogram.h:74
Pixel value mapper.
Definition Stretch.h:58
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16