Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SpatialPlotTool.h
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
58
class
SpatialPlotTool
:
public
AbstractPlotTool
{
59
Q_OBJECT
60
61
public
:
62
SpatialPlotTool
(
QWidget
*parent);
63
64
public
slots:
65
void
refreshPlot
();
66
67
protected
:
68
QWidget
*
createToolBarWidget
(QStackedWidget *parent);
69
virtual
PlotWindow
*
createWindow
();
70
virtual
void
detachCurves
();
71
void
enableRubberBandTool
();
72
QAction
*
toolPadAction
(
ToolPad
*pad);
73
void
updateTool
();
74
75
protected
slots:
76
virtual
void
rubberBandComplete
();
77
void
viewportSelected
();
78
79
private
:
80
QVector<QPointF>
getSpatialStatistics
(
MdiCubeViewport
*);
81
static
SurfacePoint
resultToSurfacePoint(
UniversalGroundMap
*);
82
void
validatePlotCurves
();
83
84
private
:
85
QPointer<QComboBox> m_xUnitsCombo;
86
88
QPointer<QAction>
m_toolPadAction
;
89
91
QPointer<QComboBox>
m_interpolationCombo
;
92
94
QScopedPointer<
95
QMap< MdiCubeViewport *, QPointer<CubePlotCurve>
> >
m_spatialCurves
;
96
98
QPointer<RubberBandComboBox>
m_rubberBandCombo
;
99
};
100
};
101
102
#endif
Isis::SurfacePoint
This class defines a body-fixed surface point.
Definition:
SurfacePoint.h:86
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition:
MdiCubeViewport.h:53
Isis::SpatialPlotTool::validatePlotCurves
void validatePlotCurves()
This method sets up the names, line style, and color of the all the CubePlotCurves that will be used ...
Definition:
SpatialPlotTool.cpp:268
Isis::UniversalGroundMap
Universal Ground Map.
Definition:
UniversalGroundMap.h:83
Isis::SpatialPlotTool::detachCurves
virtual void detachCurves()
Forget about all existing spatial plot curves.
Definition:
SpatialPlotTool.cpp:197
Isis::SpatialPlotTool::updateTool
void updateTool()
Updates plot tool.
Definition:
SpatialPlotTool.cpp:146
Isis::SpatialPlotTool::SpatialPlotTool
SpatialPlotTool(QWidget *parent)
Create a spatial plot tool.
Definition:
SpatialPlotTool.cpp:47
Isis::PlotWindow
Definition:
PlotWindow.h:86
Isis::SpatialPlotTool::getSpatialStatistics
QVector< QPointF > getSpatialStatistics(MdiCubeViewport *)
Definition:
SpatialPlotTool.cpp:318
Isis::SpatialPlotTool::enableRubberBandTool
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
Isis::SpatialPlotTool::m_interpolationCombo
QPointer< QComboBox > m_interpolationCombo
Allows the user to choose the interpolation type.
Definition:
SpatialPlotTool.h:91
Isis::SpatialPlotTool::m_rubberBandCombo
QPointer< RubberBandComboBox > m_rubberBandCombo
Spatial plot rubber band combo box.
Definition:
SpatialPlotTool.h:98
QComboBox
Isis::SpatialPlotTool::rubberBandComplete
virtual void rubberBandComplete()
Called when the user has finished drawing with the rubber band.
Definition:
SpatialPlotTool.cpp:208
Isis::SpatialPlotTool::viewportSelected
void viewportSelected()
This protected slot is called when user selects a viewport.
Definition:
SpatialPlotTool.cpp:60
Isis::SpatialPlotTool::m_toolPadAction
QPointer< QAction > m_toolPadAction
Plot tool's action.
Definition:
SpatialPlotTool.h:88
QMainWindow
Isis::SpatialPlotTool::createWindow
virtual PlotWindow * createWindow()
Creates a new plot window compatible with the curves in this tool.
Definition:
SpatialPlotTool.cpp:182
Isis::SpatialPlotTool
Spatial Plots.
Definition:
SpatialPlotTool.h:58
QVector
Definition:
Calculator.h:33
Isis::SpatialPlotTool::toolPadAction
QAction * toolPadAction(ToolPad *pad)
This method configures the QAction for this tool.
Definition:
SpatialPlotTool.cpp:85
Isis::SpatialPlotTool::createToolBarWidget
QWidget * createToolBarWidget(QStackedWidget *parent)
Creates the widgets for the tool bar.
Definition:
SpatialPlotTool.cpp:103
Isis::SpatialPlotTool::m_spatialCurves
QScopedPointer< QMap< MdiCubeViewport *, QPointer< CubePlotCurve > > > m_spatialCurves
Spatial curve.
Definition:
SpatialPlotTool.h:95
Isis::SpatialPlotTool::refreshPlot
void refreshPlot()
This method replots the data, with current settings and rubber band, in the plot window.
Definition:
SpatialPlotTool.cpp:228
QAction
Isis::AbstractPlotTool
Parent class for plotting tools which provides common functionality.
Definition:
AbstractPlotTool.h:35
QWidget
QMap
Definition:
CubeIoHandler.h:38
Isis::ToolPad
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
ISIS Support Center
File Modified: 07/12/2023 23:29:25