USGS

Isis 3.0 Developer's Reference (API)

Home

HistogramPlotWindow.h
Go to the documentation of this file.
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