18  class HistogramWidget;
 
   44                  const QString &name, 
const QColor &color);
 
 
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 the base class for advanced stretches.
Definition StretchType.h:39
 
virtual CubeStretch getStretch()
Returns the current stretch object.
Definition StretchType.cpp:201
 
QTableWidget * p_table
Pairs table.
Definition StretchType.h:69
 
void updateGraph()
This updates the graph with the current stretch object.
Definition StretchType.cpp:140
 
Stretch * p_stretch
Current stretch pairs stored here.
Definition StretchType.h:71
 
Histogram * p_cubeHist
Visible area histogram.
Definition StretchType.h:68
 
HistogramWidget * p_graph
Histogram graph.
Definition StretchType.h:70
 
StretchType(const Histogram &hist, const Stretch &stretch, const QString &name, const QColor &color)
This constructs a stretch type.
Definition StretchType.cpp:31
 
QTableWidget * createStretchTable()
This creates the stretch pairs table.
Definition StretchType.cpp:121
 
void saveToCube()
Emitted when a new Stretch object is available.
 
virtual void setStretch(Stretch)=0
Children must re-implement this to update their stretch pairs and GUI elements appropriately.
 
QGridLayout * p_mainLayout
Main layout.
Definition StretchType.h:67
 
void updateTable()
This updates the table with the current stretch pairs.
Definition StretchType.cpp:148
 
virtual void setHistogram(const Histogram &)
This should be called when the visible area changes.
Definition StretchType.cpp:109
 
virtual ~StretchType()
Destructor.
Definition StretchType.cpp:89
 
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16