Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AdvancedTrackTool.h
Go to the documentation of this file.
1
#ifndef Qisis_AdvancedTrackTool_h
2
#define Qisis_AdvancedTrackTool_h
3
25
// The only includes allowed in this file are the direct parents of this class!
26
#include "
Tool.h
"
27
28
class
QAction
;
29
30
namespace
Isis {
31
class
TableMainWindow;
32
class
MdiCubeViewport;
33
75
class
AdvancedTrackTool
:
public
Tool
{
76
Q_OBJECT
77
78
public
:
79
AdvancedTrackTool
(
QWidget
*parent);
80
void
addTo
(QMenu *menu);
81
void
addToPermanent
(
QToolBar
*perm);
82
bool
eventFilter
(
QObject
*o, QEvent *e);
83
84
public
slots:
85
virtual
void
mouseMove
(QPoint p);
86
virtual
void
mouseLeave
();
87
void
record
(QPoint p);
88
89
protected
:
96
QString
menuName
()
const
{
97
return
"&Options"
;
98
};
99
100
private
slots:
101
void
updateRow
(QPoint p);
102
void
updateRow
(
MdiCubeViewport
*cvp, QPoint p,
int
row);
103
void
record
();
104
void
updateID
();
105
void
TrackMosaicOrigin
(
MdiCubeViewport
*cvp,
int
piLine,
int
piSample,
106
int
&piOrigin, QString &psSrcFileName,
107
QString &psSrcSerialNum);
108
void
helpDialog
();
109
110
private
:
111
void
readSettings
();
112
void
writeSettings
();
113
QString
settingsFilePath
()
const
;
114
118
enum
{
119
ID
,
120
SAMPLE
,
121
LINE
,
122
BAND
,
123
PIXEL
,
124
PLANETOCENTRIC_LAT
,
125
PLANETOGRAPHIC_LAT
,
126
EAST_LON_360
,
127
WEST_LON_360
,
128
EAST_LON_180
,
129
WEST_LON_180
,
130
PROJECTED_X
,
131
PROJECTED_Y
,
132
RADIUS
,
133
POINT_X
,
134
POINT_Y
,
135
POINT_Z
,
136
RIGHT_ASCENSION
,
137
DECLINATION
,
138
RESOLUTION
,
139
PHASE
,
140
INCIDENCE
,
141
EMISSION
,
142
LOCAL_INCIDENCE
,
143
LOCAL_EMISSION
,
144
NORTH_AZIMUTH
,
145
SUN_AZIMUTH
,
146
SOLAR_LON
,
147
SPACECRAFT_X
,
148
SPACECRAFT_Y
,
149
SPACECRAFT_Z
,
150
SPACECRAFT_AZIMUTH
,
151
SLANT
,
152
EPHEMERIS_TIME
,
153
SOLAR_TIME
,
154
UTC
,
155
PATH
,
156
FILENAME
,
157
SERIAL_NUMBER
,
158
TRACK_MOSAIC_INDEX
,
159
TRACK_MOSAIC_FILENAME
,
160
TRACK_MOSAIC_SERIAL_NUM
,
161
NOTES
162
};
163
QAction
*
p_action
;
164
int
p_numRows
;
165
int
p_id
;
166
TableMainWindow
*
p_tableWin
;
167
bool
m_showHelpOnStart
;
168
169
};
170
171
};
172
173
#endif