File failed to load: https://isis.astrogeology.usgs.gov/3.9.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Developer Reference
SpatialPlotTool.h
Go to the documentation of this file.
1 #ifndef SpatialPlotTool_h
2 #define SpatialPlotTool_h
3 
4 #include "AbstractPlotTool.h"
5 
6 #include <QMap>
7 
8 class QAction;
9 class QComboBox;
10 class QMainWindow;
11 
12 template <typename T> class QVector;
13 
14 namespace Isis {
15  class CubePlotCurve;
16  class PlotWindow;
17  class RubberBandComboBox;
18  class SurfacePoint;
19  class UniversalGroundMap;
20 
63  Q_OBJECT
64 
65  public:
66  SpatialPlotTool(QWidget *parent);
67 
68  public slots:
69  void refreshPlot();
70 
71  protected:
72  QWidget *createToolBarWidget(QStackedWidget *parent);
73  virtual PlotWindow *createWindow();
74  virtual void detachCurves();
75  void enableRubberBandTool();
77  void updateTool();
78 
79  protected slots:
80  virtual void rubberBandComplete();
81  void viewportSelected();
82 
83  private:
84  QVector<QPointF> getSpatialStatistics(MdiCubeViewport *);
85  static SurfacePoint resultToSurfacePoint(UniversalGroundMap *);
86  void validatePlotCurves();
87 
88  private:
89  QPointer<QComboBox> m_xUnitsCombo;
90 
92  QPointer<QAction> m_toolPadAction;
93 
95  QPointer<QComboBox> m_interpolationCombo;
96 
98  QScopedPointer<
100 
102  QPointer<RubberBandComboBox> m_rubberBandCombo;
103  };
104 };
105 
106 #endif
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:148
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:53
Universal Ground Map.
Definition: UniversalGroundMap.h:85
virtual void detachCurves()
Forget about all existing spatial plot curves.
Definition: SpatialPlotTool.cpp:197
void updateTool()
Updates plot tool.
Definition: SpatialPlotTool.cpp:146
SpatialPlotTool(QWidget *parent)
Create a spatial plot tool.
Definition: SpatialPlotTool.cpp:47
Definition: PlotWindow.h:88
void enableRubberBandTool()
This method is called when the tool is activated by the parent, or when the plot mode is changed...
Definition: SpatialPlotTool.cpp:70
virtual void rubberBandComplete()
Called when the user has finished drawing with the rubber band.
Definition: SpatialPlotTool.cpp:208
void viewportSelected()
This protected slot is called when user selects a viewport.
Definition: SpatialPlotTool.cpp:60
virtual PlotWindow * createWindow()
Creates a new plot window compatible with the curves in this tool.
Definition: SpatialPlotTool.cpp:182
Spatial Plots.
Definition: SpatialPlotTool.h:62
Definition: Calculator.h:33
QAction * toolPadAction(ToolPad *pad)
This method configures the QAction for this tool.
Definition: SpatialPlotTool.cpp:85
QWidget * createToolBarWidget(QStackedWidget *parent)
Creates the widgets for the tool bar.
Definition: SpatialPlotTool.cpp:103
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void refreshPlot()
This method replots the data, with current settings and rubber band, in the plot window.
Definition: SpatialPlotTool.cpp:228
Parent class for plotting tools which provides common functionality.
Definition: AbstractPlotTool.h:35
Definition: CubeIoHandler.h:38
Definition: ToolPad.h:14

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:30:04