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