Isis Developer Reference
ManualStretchType.h
Go to the documentation of this file.
1#ifndef ManualStretchType_H
2#define ManualStretchType_H
3
4#include "StretchType.h"
5
6class QColor;
7class QLabel;
8class QLineEdit;
9class QPushButton;
10class QSlider;
11class QString;
12
13namespace Isis {
14 class Stretch;
15 class Histogram;
16 class CubeStretch;
17
33 Q_OBJECT
34
35 public:
36 ManualStretchType(const Histogram &, const Stretch &,
37 const QString &name, const QColor &color);
39
40 virtual CubeStretch getStretch();
41 virtual void setStretch(Stretch);
42
43 private slots:
44 void addButtonPressed(bool);
45 void deleteButtonPressed(bool);
46 void readTable();
47
48 private:
49 Stretch convertTableToStretch();
50
51 QLabel *p_errorMessage;
52 };
53}
54
55#endif
Stores stretch information for a cube.
Definition CubeStretch.h:27
Container of a cube histogram.
Definition Histogram.h:74
This handles arbitrary user-input stretches.
Definition ManualStretchType.h:32
~ManualStretchType()
Destructor.
Definition ManualStretchType.cpp:67
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a manual stretch.
Definition ManualStretchType.cpp:85
virtual CubeStretch getStretch()
Gets the current CubeStretch for this ManualStretch.
Definition ManualStretchType.cpp:160
ManualStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This constructs a manual stretch type.
Definition ManualStretchType.cpp:25
Pixel value mapper.
Definition Stretch.h:58
This is the base class for advanced stretches.
Definition StretchType.h:39
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16