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