|
Isis 3.0 Object Programmers' Reference |
Home |
#include <QHistogram.h>
Inheritance diagram for Qisis::QHistogram:


This class is used to plot histograms. It is a utility class for the hist application.
For internal use only.
Definition at line 45 of file QHistogram.h.
Public Slots | |
| void | trackerEnabled () |
| Enables mouse tracking on the plot. | |
| void | cdfCurveVisible () |
| Hide/show the cdf curve. | |
| void | printPlot () |
| Provide printing capabilities. | |
| void | savePlot () |
| Allows user to save the plot to an image file. | |
| void | switchBackground () |
| Switches the plot background color between black and white. | |
| void | showHelp () |
| Provides help text in a dialog box. | |
Public Member Functions | |
| QHistogram (QWidget *parent=NULL) | |
| Constructs a QHistogram object with default titles. | |
| ~QHistogram () | |
| Destroys the QHistogram object. | |
| void | Load (Isis::Histogram &hist) |
| Plots the given Isis Histogram in the plot window. | |
Private Attributes | |
| QwtPlotZoomer * | p_zoomer |
| Plot Zoomer. | |
| QwtPlotCurve * | p_histCurve |
| Historgram plot curve. | |
| QwtPlotCurve * | p_cdfCurve |
| CDF plot curve. | |
| Qisis::QHistogram::QHistogram | ( | QWidget * | parent = NULL |
) |
Constructs a QHistogram object with default titles.
| parent |
Definition at line 47 of file QHistogram.cpp.
References p_zoomer.
| Qisis::QHistogram::~QHistogram | ( | ) | [inline] |
| void Qisis::QHistogram::cdfCurveVisible | ( | ) | [slot] |
| void Qisis::QHistogram::Load | ( | Isis::Histogram & | hist | ) |
Plots the given Isis Histogram in the plot window.
| hist | The Isis Histogram to plot |
Definition at line 77 of file QHistogram.cpp.
References Isis::Histogram::BinCount(), Isis::Histogram::BinMiddle(), Isis::Histogram::Bins(), p_cdfCurve, p_histCurve, p_zoomer, and Isis::Statistics::ValidPixels().
| void Qisis::QHistogram::printPlot | ( | ) | [slot] |
| void Qisis::QHistogram::savePlot | ( | ) | [slot] |
| void Qisis::QHistogram::showHelp | ( | ) | [slot] |
| void Qisis::QHistogram::switchBackground | ( | ) | [slot] |
Switches the plot background color between black and white.
Definition at line 196 of file QHistogram.cpp.
References p_zoomer.
| void Qisis::QHistogram::trackerEnabled | ( | ) | [slot] |
Enables mouse tracking on the plot.
Definition at line 119 of file QHistogram.cpp.
References p_zoomer.
QwtPlotCurve* Qisis::QHistogram::p_cdfCurve [private] |
CDF plot curve.
Definition at line 67 of file QHistogram.h.
Referenced by cdfCurveVisible(), and Load().
QwtPlotCurve* Qisis::QHistogram::p_histCurve [private] |
QwtPlotZoomer* Qisis::QHistogram::p_zoomer [private] |
Plot Zoomer.
Definition at line 65 of file QHistogram.h.
Referenced by Load(), QHistogram(), switchBackground(), and trackerEnabled().