1 #ifndef StatisticsTool_h 2 #define StatisticsTool_h 86 void setDn(
const QString st);
bool p_showPixels
Display pixels?
int p_oldWidth
Previous box width in pixels.
int p_ulSamp
Upper left sample of region captured.
bool p_showDeviation
Display deviation?
int p_oldHeight
Previous box height in pixels.
QSize sizeHint() const
Size hint for this widget.
int p_boxWidth
Box width in pixels.
Stretch p_stretch
Stretch used to display pixels.
QVector< QVector< double > > p_pixelData
Stored pixel values.
void mouseMoveEvent(QMouseEvent *event)
Called when the mouse moves over this widget.
int p_boxSamps
Sample size for box.
void paintPixmap()
Paint the pixmap.
This class is used to accumulate statistics on double arrays.
void setSample(const QString st)
Signal to set the Sample label to st.
bool p_showText
Display text?
void setSamples(int samps)
Set box sample size.
int p_boxLines
Line size for box.
bool p_set
Boolean to see if data is set.
void leaveEvent(QEvent *event)
Mouse left widget, update labels.
void setDn(const QString st)
Signal to set the DN label to st.
Tool to visualize statistics in an n * m box.
void setBoxSize(int size)
Set box size in pixels.
int p_boxHeight
Box height in pixels.
int p_ulLine
Upper left line of region captured.
void setLine(const QString st)
Signal to set the Line label to st.
QPixmap p_pixmap
Pixmap used for drawing.
void updateSize()
Update the size of the box.
void showDeviation(bool b)
Show/Hide deviation.
void setPixelData(QVector< QVector< double > > data, int samp, int line)
Set pixel data and upper left sample/line.
void paintEvent(QPaintEvent *event)
Paint pixmap to the widget.
void setLines(int lines)
Set box line size.
Namespace for ISIS/Bullet specific routines.
void showText(bool b)
Show/Hide text.
void showPixels(bool b)
Show/Hide pixels.
Statistics p_stats
Stats used for calculating stretch and deviation.
VisualDisplay(QWidget *parent=0)
Constructor for visual display.