Isis 3 Programmer Reference
AdvancedStretch.h
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();
48 void deleteFromCube();
49 void loadStretch();
50
51 private:
52 QStackedWidget *p_stretchTypeStack;
54 };
55};
56
57
58#endif
59
Advanced Stretch Dialog.
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.
QStackedWidget * p_stretchTypeStack
StretchType's.
void setHistogram(const Histogram &newHist)
This is called when the visible area changes, so that the histogram can be updated.
AdvancedStretch(Histogram &, const Stretch &, const QString &, const QColor &)
This constructs an advanced stretch.
QComboBox * p_stretchTypeSelection
ComboBox of StretchTypes.
CubeStretch getStretch()
This returns the current stretch type's stretch.
void restoreSavedStretch(CubeStretch newStretch)
Used to restore a saved Stretch from a cube.
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