Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 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
8class QAction;
9class QComboBox;
10class QMainWindow;
11
12namespace Isis {
13 class CubePlotCurve;
14 class PlotWindow;
16 class SurfacePoint;
18
61 Q_OBJECT
62
63 public:
64 SpatialPlotTool(QWidget *parent);
65
66 public slots:
67 void refreshPlot();
68
69 protected:
70 QWidget *createToolBarWidget(QStackedWidget *parent);
71 virtual PlotWindow *createWindow();
72 virtual void detachCurves();
75 void updateTool();
76
77 protected slots:
78 virtual void rubberBandComplete();
79 void viewportSelected();
80
81 private:
82 QVector<QPointF> getSpatialStatistics(MdiCubeViewport *);
83 static SurfacePoint resultToSurfacePoint(UniversalGroundMap *);
84 void validatePlotCurves();
85
86 private:
87 QPointer<QComboBox> m_xUnitsCombo;
88
90 QPointer<QAction> m_toolPadAction;
91
93 QPointer<QComboBox> m_interpolationCombo;
94
96 QScopedPointer<
98
100 QPointer<RubberBandComboBox> m_rubberBandCombo;
101 };
102};
103
104#endif
AbstractPlotTool(QWidget *parent)
When you construct a plot tool, this initializes the common functionality between plot tools.
Definition AbstractPlotTool.cpp:32
This is a plot curve with information relating it to a particular cube or region of a cube.
Definition CubePlotCurve.h:53
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
Definition PlotWindow.h:86
Combo box for choosing a rubber band type.
Definition RubberBandComboBox.h:26
QAction * toolPadAction(ToolPad *pad)
This method configures the QAction for this tool.
Definition SpatialPlotTool.cpp:82
SpatialPlotTool(QWidget *parent)
Create a spatial plot tool.
Definition SpatialPlotTool.cpp:44
void viewportSelected()
This protected slot is called when user selects a viewport.
Definition SpatialPlotTool.cpp:57
virtual PlotWindow * createWindow()
Creates a new plot window compatible with the curves in this tool.
Definition SpatialPlotTool.cpp:179
void enableRubberBandTool()
This method is called when the tool is activated by the parent, or when the plot mode is changed.
Definition SpatialPlotTool.cpp:67
void updateTool()
Updates plot tool.
Definition SpatialPlotTool.cpp:143
virtual void rubberBandComplete()
Called when the user has finished drawing with the rubber band.
Definition SpatialPlotTool.cpp:205
void refreshPlot()
This method replots the data, with current settings and rubber band, in the plot window.
Definition SpatialPlotTool.cpp:225
virtual void detachCurves()
Forget about all existing spatial plot curves.
Definition SpatialPlotTool.cpp:194
QWidget * createToolBarWidget(QStackedWidget *parent)
Creates the widgets for the tool bar.
Definition SpatialPlotTool.cpp:100
This class defines a body-fixed surface point.
Definition SurfacePoint.h:132
Definition ToolPad.h:14
Universal Ground Map.
Definition UniversalGroundMap.h:69
This is free and unencumbered software released into the public domain.
Definition CubeIoHandler.h:23
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16