File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
HistogramTool.h
1 #ifndef HistogramTool_h
2 #define HistogramTool_h
3 
4 #include "AbstractPlotTool.h"
5 
6 class QAction;
7 class QWidget;
8 
9 
10 namespace Isis {
11  class Brick;
12  class CubePlotCurve;
13  class HistogramItem;
14  class HistogramToolWindow;
15  class MdiCubeViewport;
16 
41  Q_OBJECT
42 
43  public:
44  HistogramTool(QWidget *parent);
45 
46  protected:
47  QWidget *createToolBarWidget(QStackedWidget *parent);
48  void detachCurves();
50  void enableRubberBandTool();
52  void updateTool();
53 
54  protected slots:
55  void rubberBandComplete();
56 
57  public slots:
58  void refreshPlot();
59 
60  private:
61  void validatePlotCurves();
62 
63  HistogramToolWindow *m_histToolWindow;
64 
66  QPointer<HistogramItem> m_frequencyItem;
68  QPointer<CubePlotCurve> m_percentageCurve;
72  QPointer<RubberBandComboBox> m_rubberBandCombo;
73  };
74 };
75 
76 #endif
QPointer< HistogramItem > m_frequencyItem
This is the qwt plot item which draws the histogram frequency bars.
Definition: HistogramTool.h:66
void refreshPlot()
This method plots the selected data in a histogram window.
void detachCurves()
Forget the frequency histogram item and the percentage curve.
HistogramToolWindow * m_histToolWindow
Plot Tool Window Widget.
Definition: HistogramTool.h:63
void validatePlotCurves()
This method sets up the names, line style, and color of the all the plot items that will be used in t...
QPointer< CubePlotCurve > m_percentageCurve
This plot curve indicates the data percentage over the histogram.
Definition: HistogramTool.h:68
QPointer< RubberBandComboBox > m_rubberBandCombo
This combo box is for various rubber band selection types.
Definition: HistogramTool.h:72
void enableRubberBandTool()
This method is called when the tool is activated by the parent, or when the plot mode is changed...
QAction * toolPadAction(ToolPad *pad)
This method adds the histogram tool to the tool pad.
QWidget * createToolBarWidget(QStackedWidget *parent)
This method creates the widgets for the tool bar.
QAction * m_action
This is the action that activates this tool.
Definition: HistogramTool.h:70
HistogramTool(QWidget *parent)
Constructor creates a new HistogramTool object.
PlotWindow * createWindow()
This method creates the default histogram plot window.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Tool for histograms.
Definition: HistogramTool.h:40
Parent class for plotting tools which provides common functionality.
void updateTool()
This method updates the histogram tool.
void rubberBandComplete()
Called when the user has finished drawing with the rubber band.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/12/2023 23:20:54