17 class HistogramWidget;
43 const QString &name,
const QColor &color);
virtual Stretch getStretch()
Returns the current stretch object.
Definition: StretchType.cpp:183
QTableWidget * createStretchTable()
This creates the stretch pairs table.
Definition: StretchType.cpp:103
void stretchChanged()
Emitted when a new Stretch object is available.
Stretch * p_stretch
Current stretch pairs stored here.
Definition: StretchType.h:70
QTableWidget * p_table
Pairs table.
Definition: StretchType.h:68
Container of a cube histogram.
Definition: Histogram.h:86
Pixel value mapper.
Definition: Stretch.h:72
virtual void setHistogram(const Histogram &)
This should be called when the visible area changes.
Definition: StretchType.cpp:91
virtual void setStretch(Stretch)=0
Children must re-implement this to update their stretch pairs and GUI elements appropriately.
StretchType(const Histogram &hist, const Stretch &stretch, const QString &name, const QColor &color)
This constructs a stretch type.
Definition: StretchType.cpp:30
void updateGraph()
This updates the graph with the current stretch object.
Definition: StretchType.cpp:122
HistogramWidget * p_graph
Histogram graph.
Definition: StretchType.h:69
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
This is the base class for advanced stretches.
Definition: StretchType.h:38
void updateTable()
This updates the table with the current stretch pairs.
Definition: StretchType.cpp:130
virtual ~StretchType()
Destructor.
Definition: StretchType.cpp:71
Histogram * p_cubeHist
Visible area histogram.
Definition: StretchType.h:67
QGridLayout * p_mainLayout
Main layout.
Definition: StretchType.h:66