![]() |
Isis 3 Programmer Reference
|
Plot Histograms. More...
#include <QHistogram.h>


Public Slots | |
| void | trackerEnabled () |
| Enables mouse tracking on the plot. More... | |
| void | cdfCurveVisible () |
| Hide/show the cdf curve. More... | |
| void | printPlot () |
| Provide printing capabilities. More... | |
| void | savePlot () |
| Allows user to save the plot to an image file. More... | |
| void | switchBackground () |
| Switches the plot background color between black and white. More... | |
| void | showHelp () |
| Provides help text in a dialog box. More... | |
Public Member Functions | |
| QHistogram (QWidget *parent=NULL) | |
| Constructs a QHistogram object with default titles. More... | |
| ~QHistogram () | |
| Destroys the QHistogram object. More... | |
| void | Load (Histogram &hist) |
| Plots the given Isis Histogram in the plot window. More... | |
Private Attributes | |
| QwtPlotZoomer * | p_zoomer |
| Plot Zoomer. More... | |
| QwtPlotCurve * | p_histCurve |
| Historgram plot curve. More... | |
| QwtPlotCurve * | p_cdfCurve |
| CDF plot curve. More... | |
Plot Histograms.
This class is used to plot histograms. It is a utility class for the hist application.
Definition at line 34 of file QHistogram.h.
| Isis::QHistogram::QHistogram | ( | QWidget * | parent = NULL | ) |
Constructs a QHistogram object with default titles.
| parent |
Definition at line 33 of file QHistogram.cpp.
References p_zoomer.
|
inline |
Destroys the QHistogram object.
Definition at line 41 of file QHistogram.h.
|
slot |
| void Isis::QHistogram::Load | ( | Histogram & | hist | ) |
Plots the given Isis Histogram in the plot window.
Definition at line 63 of file QHistogram.cpp.
References Isis::Histogram::BinCount(), Isis::Histogram::BinMiddle(), Isis::Histogram::Bins(), p_cdfCurve, p_histCurve, p_zoomer, and Isis::Statistics::ValidPixels().
|
slot |
Provide printing capabilities.
Definition at line 129 of file QHistogram.cpp.
|
slot |
Allows user to save the plot to an image file.
Definition at line 160 of file QHistogram.cpp.
|
slot |
Provides help text in a dialog box.
Definition at line 203 of file QHistogram.cpp.
|
slot |
Switches the plot background color between black and white.
Definition at line 182 of file QHistogram.cpp.
References p_zoomer.
|
slot |
Enables mouse tracking on the plot.
Definition at line 105 of file QHistogram.cpp.
References p_zoomer.
|
private |
CDF plot curve.
Definition at line 56 of file QHistogram.h.
Referenced by cdfCurveVisible(), and Load().
|
private |
|
private |
Plot Zoomer.
Definition at line 54 of file QHistogram.h.
Referenced by Load(), QHistogram(), switchBackground(), and trackerEnabled().