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
Isis::HistogramPlotWindow::add
virtual void add(CubePlotCurve *pc)
This method adds the curves to the plot.
Definition: PlotWindow.cpp:436
QWidget
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::HistogramPlotWindow
Definition: HistogramPlotWindow.h:16
PlotWindow.h
Isis::PlotWindow::add
virtual void add(CubePlotCurve *pc)
This method adds the curves to the plot.
Definition: PlotWindow.cpp:436
Isis::HistogramItem
This is the (qwt) plot item for a histogram.
Definition: HistogramItem.h:24
Isis::HistogramPlotWindow::HistogramPlotWindow
HistogramPlotWindow(QString title, QWidget *parent)
Constructor, creates a new HistogramPlotWindow.
Definition: HistogramPlotWindow.cpp:17
Isis::PlotWindow
Definition: PlotWindow.h:88
QDockWidget
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16