1 #ifndef ControlPointEditWidget_h 2 #define ControlPointEditWidget_h 10 #include <QCloseEvent> 17 #include <QStringList> 41 class ControlMeasureEditWidget;
47 class MdiCubeViewport;
48 class SerialNumberList;
51 class UniversalGroundMap;
144 bool isGroundSource =
false);
162 void setPointType (
int pointType);
163 void setLockPoint (
bool ignore);
164 void setIgnorePoint (
bool ignore);
165 void setLockLeftMeasure (
bool ignore);
166 void setIgnoreLeftMeasure (
bool ignore);
167 void setLockRightMeasure (
bool ignore);
168 void setIgnoreRightMeasure (
bool ignore);
170 void selectLeftMeasure (
int index);
171 void selectRightMeasure (
int index);
172 void nextRightMeasure();
173 void previousRightMeasure();
174 void updateLeftMeasureInfo ();
175 void updateRightMeasureInfo ();
178 void checkReference();
180 void updateGroundPosition();
181 void updateSurfacePointInfo ();
182 void openReferenceRadius();
183 void groundSourceFileSelectionChanged(
int index);
187 void colorizeAllSaveButtons(QString color);
188 void colorizeSavePointButton();
190 void openTemplateFile();
191 void viewTemplateFile();
193 void showHideTemplateEditor();
194 void saveTemplateFile();
195 void saveTemplateFileAs();
196 void setTemplateFile(QString);
197 void setTemplateModified();
198 void writeTemplateFile(QString);
199 void resetTemplateComboBox(QString fileName);
200 void clearEditPoint();
203 void createActions();
205 void loadPoint(QString serialNumber =
"");
206 void loadGroundMeasure();
207 void createPointEditor(
QWidget *parent,
bool addMeasures);
208 QSplitter * createTopSplitter();
209 QGroupBox * createControlPointGroupBox();
210 QGroupBox * createLeftMeasureGroupBox();
211 QGroupBox * createRightMeasureGroupBox();
212 void createTemplateEditorWidget();
213 void loadTemplateFile(QString);
215 bool IsMeasureLocked(QString serialNumber);
218 void setShapesForPoint(
double latitude=
Null,
double longitude=
Null);
220 bool setGroundSourceInfo();
222 void changeGroundLocationsInNet();
223 void clearGroundSource();
225 void initDem(QString demFile);
226 double demRadius(
double latitude,
double longitude);
230 QPointer<QWidget> m_parent;
232 bool m_addMeasuresButton;
234 QString m_cnetFileName;
235 QPointer<QLabel> m_cnetFileNameLabel;
238 QPointer<QAction> m_closePointEditor;
240 QPointer<QAction> m_saveChips;
241 QPointer<QAction> m_showHideTemplateEditor;
243 QPointer<QAction> m_openTemplateFile;
244 QPointer<QAction> m_saveTemplateFile;
245 QPointer<QAction> m_saveTemplateFileAs;
249 QPointer<ControlMeasureEditWidget> m_measureEditor;
251 QPointer<QPushButton> m_reloadPoint;
252 QPointer<QPushButton> m_savePoint;
253 QPalette m_saveDefaultPalette;
255 QPointer<QPushButton> m_saveNet;
257 QPointer<QTextEdit> m_templateEditor;
258 QPointer<QWidget> m_templateEditorWidget;
259 bool m_templateModified;
261 QPointer<QComboBox> m_templateComboBox;
262 QPointer<QComboBox> m_groundSourceCombo;
263 QPointer<QComboBox> m_radiusSourceCombo;
264 QPointer<QLabel> m_ptIdValue;
265 QPointer<QComboBox> m_pointTypeCombo;
266 QPointer<QLabel> m_numMeasures;
267 QPointer<QLabel> m_aprioriLatitude;
268 QPointer<QLabel> m_aprioriLongitude;
269 QPointer<QLabel> m_aprioriRadius;
271 QPointer<QCheckBox> m_lockPoint;
272 QPointer<QCheckBox> m_ignorePoint;
273 QPointer<QLabel> m_leftReference;
274 QPointer<QLabel> m_leftMeasureType;
275 QPointer<QLabel> m_rightReference;
276 QPointer<QLabel> m_rightMeasureType;
277 QPointer<QCheckBox> m_lockLeftMeasure;
278 QPointer<QCheckBox> m_ignoreLeftMeasure;
279 QPointer<QCheckBox> m_lockRightMeasure;
280 QPointer<QCheckBox> m_ignoreRightMeasure;
282 QPointer<QComboBox> m_leftCombo;
283 QPointer<QComboBox> m_rightCombo;
284 QPointer<QStandardItemModel> m_model;
286 QPointer<QMainWindow> m_measureWindow;
287 QPointer<QTableWidget> m_measureTable;
289 QPointer<ControlPoint> m_editPoint;
291 QPointer<ControlNet> m_controlNet;
292 QPointer<Control> m_control;
294 QPointer<ControlPoint> m_newPoint;
295 QString m_lastUsedPointId;
300 QPointer<ControlMeasure> m_leftMeasure;
301 QPointer<ControlMeasure> m_rightMeasure;
302 QScopedPointer<Cube> m_leftCube;
303 QScopedPointer<Cube> m_rightCube;
306 int m_numberProjectShapesWithPoint;
309 QString m_groundFilename;
312 QScopedPointer<UniversalGroundMap> m_groundGmap;
314 bool m_changeAllGroundLocation;
315 bool m_changeGroundLocationInNet;
317 QString m_newGroundDir;
322 QString m_radiusFilename;
326 QScopedPointer<Cube> m_demCube;
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:79
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:110
Source
Definition: ControlPoint.h:466
File name manipulation and expansion.
Definition: FileName.h:116
Source
Definition: ControlPoint.h:455
Definition: TemplateList.h:49
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:132
a control network
Definition: ControlNet.h:271
Pixel value mapper.
Definition: Stretch.h:72
A single control point.
Definition: ControlPoint.h:369
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
a control measurement
Definition: ControlMeasure.h:189
Serial Number list generator.
Definition: SerialNumberList.h:80
Definition: Directory.h:285
Definition: CubeIoHandler.h:38
IO Handler for Isis Cubes.
Definition: Cube.h:170