Isis 3 Programmer Reference
|
#include <QnetSetAprioriDialog.h>
Public Slots | |
void | setVisiblity () |
Shows the dialog box. | |
virtual void | reject () |
This is called when the user selects the X button on the top right or they hit ESC. | |
Signals | |
void | pointChanged (QString pointId) |
void | netChanged () |
void | aprioriDialogClosed () |
Public Member Functions | |
QnetSetAprioriDialog (QnetTool *qnetTool, QWidget *parent=0) | |
void | setPoints (QList< QListWidgetItem * > selectedPoints) |
Set control points in the dialog. | |
Private Types | |
enum | Source { USER , AVERAGE , REFERENCE } |
Private Slots | |
void | fillCurrentAprioriLineEdits () |
Populates the apriori lat/lon/radius line edits with the current values. | |
void | fillReferenceAprioriLineEdits () |
Populates the apriori lat/lon/radius line edits with the reference measure values. | |
void | fillAverageAprioriLineEdits () |
Populates the apriori lat/lon/radius line edits with the average measure values. | |
void | fillSigmaLineEdits () |
Populates the sigma lat/lon/radius line edits with the current values. | |
void | clearLineEdits () |
Clears the line edits. | |
void | resetInfoLabels () |
Resets and populates the information stack labels. | |
void | setApriori () |
Slot to set apriori on selected Points from Navigator list box. | |
void | closeEvent () |
Disconnect all of the slots on a close event. | |
Private Member Functions | |
void | createSetAprioriDialog (QWidget *parent) |
Creates the dialog box for the set apriori tool. | |
void | setInfoStack (QList< QListWidgetItem * > selectedPoints) |
Switches what information is visible based on how many points are selected. | |
void | checkPointInfoDisable (QList< QListWidgetItem * > selectedPoints) |
Enables/Disables features based on if there are multiple points selected or not. | |
2016-08-09 Makayla Shepherd - Complete redesign of the user interface. Fixes #2325, #2383.
2016-10-14 Makayla Shepherd - Fixed an issue that caused the apriori sigmas to be set to NULL. You can now set the apriori sigmas. Fixes #4457.
2016-11-18 Makayla Shepherd - Corrected the deletion of this dialog. The incorrect deletion caused an error message to pop up when selecting multiple Free or Fixed points after closing the Set Apriori dialog. Fixes #4490.
2018-06-28 Debbie A. Cook - Removed calls to SurfacePoint::SetRadii which is now obsolete. Fixes #5457.
2018-07-06 Jesse Mapel - Removed calls to ControlNet::GetTargetRadii because it is both no longer needed and no longer available. Fixes #5457.
Definition at line 42 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 124 of file QnetSetAprioriDialog.h.
Definition at line 33 of file QnetSetAprioriDialog.cpp.
|
private |
Enables/Disables features based on if there are multiple points selected or not.
If multiple points are selected it also counts how many are EditLocked, Ignored, the number of each type of point, and the total number of measures.
Definition at line 682 of file QnetSetAprioriDialog.cpp.
|
privateslot |
Clears the line edits.
Definition at line 770 of file QnetSetAprioriDialog.cpp.
|
privateslot |
Disconnect all of the slots on a close event.
Definition at line 278 of file QnetSetAprioriDialog.cpp.
|
private |
Creates the dialog box for the set apriori tool.
parent | The parent widget for the set apriori dialog |
Definition at line 122 of file QnetSetAprioriDialog.cpp.
|
privateslot |
Populates the apriori lat/lon/radius line edits with the average measure values.
This only works on single points and is disabled for multiple points. The calculations were moved from setApriori.
the code used to compute the average of the measures is copied from ControlPoint::ComputeApriori
There is a known issue with this code that if something goes wrong and the average cannot be computed then the lat, lon, radius is set to null. In that case, clear the line edits and display an error message.
Definition at line 465 of file QnetSetAprioriDialog.cpp.
References Isis::Camera::Camera(), Isis::Displacement::meters(), Isis::Null, and Isis::SurfacePoint::SetRectangular().
|
privateslot |
Populates the apriori lat/lon/radius line edits with the current values.
If there are no current values, the line edits are empty. This only works on single points and is disabled for multiple points.
Definition at line 345 of file QnetSetAprioriDialog.cpp.
References Isis::Null.
|
privateslot |
Populates the apriori lat/lon/radius line edits with the reference measure values.
This only works on single points and is disabled for multiple points. The calculations were moved from setApriori.
Definition at line 393 of file QnetSetAprioriDialog.cpp.
References Isis::Camera::Camera(), and Isis::Null.
|
privateslot |
Populates the sigma lat/lon/radius line edits with the current values.
If there are no current sigma values, the line edits are empty. This only works on single points and is disabled for multiple points.
Definition at line 627 of file QnetSetAprioriDialog.cpp.
References Isis::Null.
|
virtualslot |
This is called when the user selects the X button on the top right or they hit ESC.
Disconnect all slots on close event.
Definition at line 267 of file QnetSetAprioriDialog.cpp.
|
privateslot |
Resets and populates the information stack labels.
Definition at line 786 of file QnetSetAprioriDialog.cpp.
|
privateslot |
Slot to set apriori on selected Points from Navigator list box.
2011-04-04 Tracie Sucharski - Grey out userEntered if more than a single point is selected. Grey out lat,lon,radius edits if UserEntered is not selected.
2011-04-13 Tracie Sucharski - If single point selected, fill in LineEdit's with current controlPoint values.
2011-04-19 Tracie Sucharski - Redesign using modeless dialog.
2011-04-26 Tracie Sucharski - Move from QnetNavTool to QnetSetAprioriDialog.
2016-02-05 Makayla Shepherd - Redesigned to work with the new UI. This method only takes the values in the line edits and uses them to set the Apriori values. The calculations for reference and average values are made and populated in the fill methods.
2016-10-14 Makayla Shepherd - Fixed an issue that caused the apriori sigmas to be set to NULL. You can now set the apriori sigmas.
2016-11-16 Makayla Shepherd - Fixed the sigma setting for Fixed and Free points.
Definition at line 859 of file QnetSetAprioriDialog.cpp.
References Isis::Null, Isis::ControlPoint::SetAprioriSurfacePoint(), and Isis::SurfacePoint::SetSphericalSigmasDistance().
|
private |
Switches what information is visible based on how many points are selected.
Defaults to single point information.
Definition at line 664 of file QnetSetAprioriDialog.cpp.
void Isis::QnetSetAprioriDialog::setPoints | ( | QList< QListWidgetItem * > | selectedPoints | ) |
Set control points in the dialog.
selectedPoints | QList<QListWidgetItem *> ControlPoints listed |
2011-10-03 Tracie Sucharski - Do not enable user Entered Button, this will only be enabled if the group box is enabled.
2016-02-05 Makayla Shepherd - Redesigned to work with new UI
Definition at line 321 of file QnetSetAprioriDialog.cpp.
|
slot |
Shows the dialog box.
Definition at line 304 of file QnetSetAprioriDialog.cpp.
|
private |
Definition at line 81 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 77 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 78 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 101 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 102 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 103 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 130 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 109 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 80 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 94 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 107 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 113 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 88 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 95 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 96 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 89 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 104 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 114 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 117 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 105 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 115 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 118 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 91 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 133 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 136 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 134 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 135 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 137 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 132 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 79 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 100 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 85 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 82 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 87 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 121 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 92 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 97 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 98 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 93 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 86 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 122 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 106 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 116 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 119 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 108 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 111 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 112 of file QnetSetAprioriDialog.h.
|
private |
Definition at line 84 of file QnetSetAprioriDialog.h.