File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
10 #include <QStringList>
33 class ControlPointEdit;
37 class MdiCubeViewport;
38 class QnetHoldPointDialog;
39 class SerialNumberList;
42 class UniversalGroundMap;
328 void enterWhatsThisMode();
329 void paintAllViewports (QString pointId );
333 void setPointType (
int pointType);
334 void setLockPoint (
bool ignore);
335 void setIgnorePoint (
bool ignore);
336 void setLockLeftMeasure (
bool ignore);
337 void setIgnoreLeftMeasure (
bool ignore);
338 void setLockRightMeasure (
bool ignore);
339 void setIgnoreRightMeasure (
bool ignore);
340 void showNavWindow (
bool checked);
342 void updateSurfacePointInfo ();
344 void nextRightMeasure();
345 void previousRightMeasure();
346 void selectLeftMeasure (
int index);
347 void selectRightMeasure (
int index);
348 void updateLeftMeasureInfo ();
349 void updateRightMeasureInfo ();
352 bool checkReference();
353 void updateGroundPosition();
355 void colorizeSaveButton();
357 void openTemplateFile();
358 void viewTemplateFile();
364 void openReferenceRadius();
365 void showHideTemplateEditor();
366 void saveTemplateFile();
367 void saveTemplateFileAs();
368 void setTemplateModified();
369 void writeTemplateFile(QString);
372 void createActions();
375 void createToolBars();
376 bool findPointLocation();
378 void loadGroundMeasure();
379 void loadMeasureTable();
383 void createQnetTool(
QWidget *parent);
384 QSplitter * createTopSplitter();
385 QGroupBox * createControlPointGroupBox();
386 QGroupBox * createLeftMeasureGroupBox();
387 QGroupBox * createRightMeasureGroupBox();
388 void createTemplateEditorWidget();
389 void loadTemplateFile(QString);
391 void initDem(QString demFile);
392 double demRadius(
double latitude,
double longitude);
393 void clearGroundSource();
394 bool IsMeasureLocked(QString serialNumber);
397 void writeSettings()
const;
399 QPointer<MainWindow> m_qnetTool;
401 QString m_cnetFileName;
403 QStringList findPointFiles(
double lat,
double lon);
405 QPointer<QAction> m_createPoint;
406 QPointer<QAction> m_modifyPoint;
407 QPointer<QAction> m_deletePoint;
409 QPointer<QAction> m_openGround;
410 QPointer<QAction> m_openDem;
411 QPointer<QAction> m_saveNet;
412 QPointer<QToolBar> toolBar;
413 QPointer<QAction> m_saveAsNet;
414 QPointer<QAction> m_closeQnetTool;
416 QPointer<QAction> m_saveChips;
417 QPointer<QAction> m_showHideTemplateEditor;
418 QPointer<QAction> m_openTemplateFile;
419 QPointer<QAction> m_saveTemplateFile;
420 QPointer<QAction> m_saveTemplateFileAs;
422 QPointer<QAction> m_whatsThis;
424 QPointer<QMainWindow> m_mw;
425 QPointer<ControlPointEdit> m_pointEditor;
427 QPushButton *m_savePoint;
428 QPalette m_saveDefaultPalette;
430 QTextEdit *m_templateEditor;
431 QWidget *m_templateEditorWidget;
432 bool m_templateModified;
434 QPointer<QLabel> m_templateFileNameLabel;
435 QPointer<QLabel> m_groundFileNameLabel;
436 QPointer<QLabel> m_radiusFileNameLabel;
437 QPointer<QLabel> m_ptIdValue;
438 QPointer<QComboBox> m_pointType;
439 QPointer<QLabel> m_numMeasures;
440 QPointer<QLabel> m_pointAprioriLatitude;
441 QPointer<QLabel> m_pointAprioriLongitude;
442 QPointer<QLabel> m_pointAprioriRadius;
443 QPointer<QLabel> m_pointAprioriLatitudeSigma;
444 QPointer<QLabel> m_pointAprioriLongitudeSigma;
445 QPointer<QLabel> m_pointAprioriRadiusSigma;
446 QPointer<QLabel> m_pointLatitude;
447 QPointer<QLabel> m_pointLongitude;
448 QPointer<QLabel> m_pointRadius;
450 QPointer<QCheckBox> m_lockPoint;
451 QPointer<QCheckBox> m_ignorePoint;
452 QPointer<QLabel> m_leftReference;
453 QPointer<QLabel> m_leftMeasureType;
454 QPointer<QLabel> m_leftSampError;
455 QPointer<QLabel> m_leftLineError;
456 QPointer<QLabel> m_leftSampShift;
457 QPointer<QLabel> m_leftLineShift;
458 QPointer<QLabel> m_leftGoodness;
459 QPointer<QLabel> m_rightGoodness;
460 QPointer<QLabel> m_rightReference;
461 QPointer<QLabel> m_rightMeasureType;
462 QPointer<QLabel> m_rightSampError;
463 QPointer<QLabel> m_rightLineError;
464 QPointer<QLabel> m_rightSampShift;
465 QPointer<QLabel> m_rightLineShift;
466 QPointer<QCheckBox> m_lockLeftMeasure;
467 QPointer<QCheckBox> m_ignoreLeftMeasure;
468 QPointer<QCheckBox> m_lockRightMeasure;
469 QPointer<QCheckBox> m_ignoreRightMeasure;
471 QPointer<QComboBox> m_leftCombo;
472 QPointer<QComboBox> m_rightCombo;
474 QPointer<QMainWindow> m_measureWindow;
475 QPointer<QTableWidget> m_measureTable;
477 QPointer<ControlPoint> m_editPoint;
482 QPointer<ControlMeasure> m_leftMeasure;
483 QPointer<ControlMeasure> m_rightMeasure;
484 QScopedPointer<Cube> m_leftCube;
485 QScopedPointer<Cube> m_rightCube;
487 QString m_groundFile;
488 QScopedPointer<Cube> m_groundCube;
490 QScopedPointer<UniversalGroundMap> m_groundGmap;
497 QString m_groundSourceFile;
498 QString m_radiusSourceFile;
501 QScopedPointer<Cube> m_demCube;
503 QString m_lastUsedPointId;
504 QPointer<ControlNet> m_controlNet;
506 QPointer<Workspace> m_workspace;
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
static Camera * Create(Cube &cube)
Creates a Camera object using Pvl Specifications.
Definition: CameraFactory.cpp:45
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
@ RegisteredPixel
Registered to whole pixel (e.g.,pointreg)
Definition: ControlMeasure.h:212
@ BiLinearType
Definition: Interpolator.h:43
@ RegisteredSubPixel
Registered to sub-pixel (e.g., pointreg)
Definition: ControlMeasure.h:214
void setFiles(QStringList pointFiles)
Set files found containing selected point.
Definition: QnetFixedPointDialog.cpp:144
virtual QString fileName() const
Returns the opened cube's filename.
Definition: Cube.cpp:1563
Universal Ground Map.
Definition: UniversalGroundMap.h:69
static QString PointTypeToString(PointType type)
Obtain a string representation of a given PointType.
Definition: ControlPoint.cpp:1333
double UniversalLatitude() const
Returns the universal latitude of the camera model or projection.
Definition: UniversalGroundMap.cpp:247
@ Basemap
Definition: ControlPoint.h:445
@ MeasureLocked
Definition: ControlMeasure.h:219
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Status SetCubeSerialNumber(QString newSerialNumber)
Set cube serial number.
Definition: ControlMeasure.cpp:187
Status SetChooserName(QString name)
Set the point's chooser name.
Definition: ControlPoint.cpp:487
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
Distance GetLonSigmaDistance() const
Return the longitude sigma in meters.
Definition: SurfacePoint.cpp:1763
@ Reference
Definition: ControlPoint.h:444
@ PointLocked
This is returned when the operation requires Edit Lock to be false but it is currently true.
Definition: ControlPoint.h:408
int serialNumberIndex(const QString &sn)
Return a list index given a serial number.
Definition: SerialNumberList.cpp:490
File name manipulation and expansion.
Definition: FileName.h:100
virtual double Sample() const
Returns the current sample number.
Definition: Camera.cpp:2690
Status SetAprioriSample(double aprioriSample)
Definition: ControlMeasure.cpp:144
Pixel value mapper.
Definition: Stretch.h:58
Distance GetLatSigmaDistance() const
Return the latitude sigma as a Distance.
Definition: SurfacePoint.cpp:1747
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
bool isFixed() const
Definition: QnetFixedPointDialog.cpp:109
Source
Definition: ControlPoint.h:451
QString pointId() const
Definition: QnetFixedPointDialog.cpp:119
static QString Compose(Pvl &label, bool def2filename=false)
Compose a SerialNumber from a PVL.
Definition: SerialNumber.cpp:38
PointType
These are the valid 'types' of point.
Definition: ControlPoint.h:364
SurfacePoint GetAprioriSurfacePoint() const
Definition: ControlPoint.cpp:1566
Latitude GetLatitude() const
Return the body-fixed latitude for the surface point.
Definition: SurfacePoint.cpp:1665
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
Definition: QnetFixedPointDialog.h:31
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
@ Candidate
(e.g., autoseed, interest) AKA predicted, unmeasured, unverified
Definition: ControlMeasure.h:208
QStringList selectedFiles() const
Definition: NewControlPointDialog.cpp:178
Serial Number list generator.
Definition: SerialNumberList.h:64
UniversalGroundMap * universalGroundMap() const
Definition: CubeViewport.h:353
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
void remove(const QString &sn)
Remove the specified serial number from the list.
Definition: SerialNumberList.cpp:88
@ Ellipsoid
Definition: ControlPoint.h:455
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
A single control point.
Definition: ControlPoint.h:354
@ Fixed
A Fixed point is a Control Point whose lat/lon is well established and should not be changed.
Definition: ControlPoint.h:371
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Status SetAprioriSurfacePoint(SurfacePoint aprioriSP)
This updates the apriori surface point.
Definition: ControlPoint.cpp:779
Status SetType(PointType newType)
Updates the control point's type.
Definition: ControlPoint.cpp:709
@ DEM
Definition: ControlPoint.h:456
static const int PointTypeCount
Definition: ControlPoint.h:386
bool Valid() const
Definition: SurfacePoint.cpp:947
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:537
@ None
Definition: ControlPoint.h:452
Status SetCamera(Isis::Camera *camera)
Set pointer to camera associated with a measure.
Definition: ControlMeasure.cpp:169
int fileNameIndex(const QString &filename)
Return a list index given a filename.
Definition: SerialNumberList.cpp:517
@ Manual
Hand Measured (e.g., qnet)
Definition: ControlMeasure.h:210
@ Constrained
A Constrained point is a Control Point whose lat/lon/radius is somewhat established and should not be...
Definition: ControlPoint.h:376
static QString MeasureTypeToString(MeasureType type)
Return the String Control Measure type.
Definition: ControlMeasure.cpp:951
Status SetChooserName()
Set chooser name to a user who last changed the coordinate.
Definition: ControlMeasure.cpp:196
virtual bool SetUniversalGround(const double latitude, const double longitude)
Sets the lat/lon values to get the sample/line values.
Definition: Camera.cpp:380
void add(const QString &filename, bool def2filename=false)
Adds a new filename / serial number pair to the SerialNumberList.
Definition: SerialNumberList.cpp:121
QString pointId() const
Definition: NewControlPointDialog.cpp:161
a control network
Definition: ControlNet.h:257
Definition: NewControlPointDialog.h:49
Isis exception class.
Definition: IException.h:91
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
Source
Definition: ControlPoint.h:440
Longitude GetLongitude() const
Return the body-fixed longitude for the surface point.
Definition: SurfacePoint.cpp:1685
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
static Isis::Projection * CreateFromCube(Isis::Cube &cube)
This method is a helper method.
Definition: ProjectionFactory.cpp:1069
Distance GetLocalRadius() const
Return the radius of the surface point.
Definition: SurfacePoint.cpp:1732
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
QStringList selectedFiles() const
Definition: QnetFixedPointDialog.cpp:124
void setFiles(QStringList pointFiles)
Definition: NewControlPointDialog.cpp:252
@ Free
A Free point is a Control Point that identifies common measurements between two or more cubes.
Definition: ControlPoint.h:384
double meters() const
Get the distance in meters.
Definition: Distance.cpp:85
double degrees() const
Get the angle in units of Degrees.
Definition: Angle.h:232
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
bool SetImage(double sample, double line)
Returns whether the sample/line postion was set successfully in the camera model or projection.
Definition: UniversalGroundMap.cpp:233
@ GoodnessOfFit
GoodnessOfFit is pointreg information for reference measures.
Definition: ControlMeasureLogData.h:67
Point Editor Widget.
Definition: ControlPointEdit.h:155
void viewportToCube(int x, int y, double &sample, double &line) const
Turns a viewport into a cube.
Definition: CubeViewport.cpp:815
Status SetType(MeasureType type)
Set how the coordinate was obtained.
Definition: ControlMeasure.cpp:420
Definition: Workspace.h:78
Status
This is a return status for many of the mutating (setter) method calls.
Definition: ControlPoint.h:393
Base class for the Qisis main windows.
Definition: MainWindow.h:24
QString fileName(const QString &sn)
Return a filename given a serial number.
Definition: SerialNumberList.cpp:399
virtual double Line() const
Returns the current line number.
Definition: Camera.cpp:2710
static QString UserName()
Returns the user name.
Definition: Application.cpp:816
Status SetAprioriLine(double aprioriLine)
Definition: ControlMeasure.cpp:134
Cube * cube() const
Definition: CubeViewport.h:338
bool hasSerialNumber(QString sn)
Determines whether or not the requested serial number exists in the list.
Definition: SerialNumberList.cpp:373
void Add(ControlMeasure *measure)
Add a measurement to the control point, taking ownership of the measure in the process.
Definition: ControlPoint.cpp:223
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
Distance GetLocalRadiusSigma() const
Definition: SurfacePoint.cpp:1776
double UniversalLongitude() const
Returns the universal longitude of the camera model or projection.
Definition: UniversalGroundMap.cpp:270
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Status SetCoordinate(double sample, double line)
Set the coordinate of the measurement.
Definition: ControlMeasure.cpp:219
a control measurement
Definition: ControlMeasure.h:175