Isis 3 Programmer Reference
HistogramPlotWindow.h
1#ifndef HistogramPlotWindow_h
2#define HistogramPlotWindow_h
3
4#include <qwt_text.h>
5
6#include "PlotWindow.h"
7
8class QDockWidget;
9
10namespace Isis {
11 class HistogramItem;
12
19 Q_OBJECT
20
21 public:
22 HistogramPlotWindow(QString title, QWidget *parent);
23 using PlotWindow::add;
24 void add(HistogramItem *);
25
26// void setViewport(CubeViewport *cvp);
27 int getNumItems() {
28 return p_histItems.size();
29 }
30
31 HistogramItem *getHistItem(int index) {
32 return p_histItems[index];
33 }
34
35 QDockWidget *getDockWidget() {
36 return p_dock;
37 }
38
39 public slots:
40
41
42 private:
43// CubeViewport *p_cvp; //!< The current viewport
44 QList<HistogramItem *> p_histItems;
45 QDockWidget *p_dock;
46 };
47};
48
49#endif
This is the (qwt) plot item for a histogram.
HistogramPlotWindow(QString title, QWidget *parent)
Constructor, creates a new HistogramPlotWindow.
void add(HistogramItem *)
Add a HistogramItem to the plot.
virtual void add(CubePlotCurve *pc)
This method adds the curves to the plot.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16