5#include "ControlPoint.h"
33 class ControlPointEdit;
37 class MdiCubeViewport;
38 class QnetHoldPointDialog;
39 class SerialNumberList;
42 class UniversalGroundMap;
268 enum MeasureColumns {
286 static const int NUMCOLUMNS = 16;
288 QString measureColumnToString(MeasureColumns column);
300 void qnetToolSaveAs();
301 void refreshNavList();
302 void editPointChanged(QString pointId);
304 void ignorePointChanged();
305 void ignoreLeftChanged();
306 void ignoreRightChanged();
310 void measureChanged();
331 void enterWhatsThisMode();
356 void updateGroundPosition();
368 void showHideTemplateEditor();
378 void createToolBars();
394 void initDem(QString demFile);
395 double demRadius(
double latitude,
double longitude);
396 void clearGroundSource();
402 QPointer<MainWindow> m_qnetTool;
404 QString m_cnetFileName;
406 QStringList findPointFiles(
double lat,
double lon);
408 QPointer<QAction> m_createPoint;
409 QPointer<QAction> m_modifyPoint;
410 QPointer<QAction> m_deletePoint;
412 QPointer<QAction> m_openGround;
413 QPointer<QAction> m_openDem;
414 QPointer<QAction> m_saveNet;
415 QPointer<QToolBar> toolBar;
416 QPointer<QAction> m_saveAsNet;
417 QPointer<QAction> m_closeQnetTool;
419 QPointer<QAction> m_saveChips;
420 QPointer<QAction> m_showHideTemplateEditor;
421 QPointer<QAction> m_openTemplateFile;
422 QPointer<QAction> m_saveTemplateFile;
423 QPointer<QAction> m_saveTemplateFileAs;
425 QPointer<QAction> m_whatsThis;
427 QPointer<QMainWindow> m_mw;
428 QPointer<ControlPointEdit> m_pointEditor;
430 QPushButton *m_savePoint;
431 QPalette m_saveDefaultPalette;
433 QTextEdit *m_templateEditor;
434 QWidget *m_templateEditorWidget;
435 bool m_templateModified;
437 QPointer<QLabel> m_templateFileNameLabel;
438 QPointer<QLabel> m_groundFileNameLabel;
439 QPointer<QLabel> m_radiusFileNameLabel;
440 QPointer<QLabel> m_ptIdValue;
441 QPointer<QComboBox> m_pointType;
442 QPointer<QLabel> m_numMeasures;
443 QPointer<QLabel> m_pointAprioriLatitude;
444 QPointer<QLabel> m_pointAprioriLongitude;
445 QPointer<QLabel> m_pointAprioriRadius;
446 QPointer<QLabel> m_pointAprioriLatitudeSigma;
447 QPointer<QLabel> m_pointAprioriLongitudeSigma;
448 QPointer<QLabel> m_pointAprioriRadiusSigma;
449 QPointer<QLabel> m_pointLatitude;
450 QPointer<QLabel> m_pointLongitude;
451 QPointer<QLabel> m_pointRadius;
453 QPointer<QCheckBox> m_lockPoint;
454 QPointer<QCheckBox> m_ignorePoint;
455 QPointer<QLabel> m_leftReference;
456 QPointer<QLabel> m_leftMeasureType;
457 QPointer<QLabel> m_leftSampError;
458 QPointer<QLabel> m_leftLineError;
459 QPointer<QLabel> m_leftSampShift;
460 QPointer<QLabel> m_leftLineShift;
461 QPointer<QLabel> m_leftGoodness;
462 QPointer<QLabel> m_rightGoodness;
463 QPointer<QLabel> m_rightReference;
464 QPointer<QLabel> m_rightMeasureType;
465 QPointer<QLabel> m_rightSampError;
466 QPointer<QLabel> m_rightLineError;
467 QPointer<QLabel> m_rightSampShift;
468 QPointer<QLabel> m_rightLineShift;
469 QPointer<QCheckBox> m_lockLeftMeasure;
470 QPointer<QCheckBox> m_ignoreLeftMeasure;
471 QPointer<QCheckBox> m_lockRightMeasure;
472 QPointer<QCheckBox> m_ignoreRightMeasure;
474 QPointer<QComboBox> m_leftCombo;
475 QPointer<QComboBox> m_rightCombo;
477 QPointer<QMainWindow> m_measureWindow;
478 QPointer<QTableWidget> m_measureTable;
480 QPointer<ControlPoint> m_editPoint;
485 QPointer<ControlMeasure> m_leftMeasure;
486 QPointer<ControlMeasure> m_rightMeasure;
487 QScopedPointer<Cube> m_leftCube;
488 QScopedPointer<Cube> m_rightCube;
490 QString m_groundFile;
491 QScopedPointer<Cube> m_groundCube;
493 QScopedPointer<UniversalGroundMap> m_groundGmap;
495 ControlPoint::SurfacePointSource::Source m_groundSurfacePointSource;
496 ControlPoint::RadiusSource::Source m_groundRadiusSource;
500 QString m_groundSourceFile;
501 QString m_radiusSourceFile;
504 QScopedPointer<Cube> m_demCube;
506 QString m_lastUsedPointId;
507 QPointer<ControlNet> m_controlNet;
509 QPointer<Workspace> m_workspace;
Widget to display Isis cubes for qt apps.
Cube display widget for certain Isis MDI applications.
Serial Number list generator.
This is free and unencumbered software released into the public domain.