Isis 3 Programmer Reference
ControlPointEditWidget.h
1 #ifndef ControlPointEditWidget_h
2 #define ControlPointEditWidget_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 
13 #include "ControlPoint.h"
14 #include "FileName.h"
15 #include "SpecialPixel.h"
16 #include "TemplateList.h"
17 
18 #include <QCloseEvent>
19 #include <QDir>
20 #include <QHideEvent>
21 #include <QPalette>
22 #include <QPointer>
23 #include <QStatusBar>
24 #include <QString>
25 #include <QStringList>
26 #include <QWidget>
27 
28 class QAction;
29 class QBoxLayout;
30 class QCheckBox;
31 class QComboBox;
32 class QGroupBox;
33 class QLabel;
34 class QMainWindow;
35 class QObject;
36 class QPainter;
37 class QPoint;
38 class QPushButton;
39 class QSplitter;
40 class QStackedWidget;
41 class QStandardItemModel;
42 class QString;
43 class QTableWidget;
44 class QTextEdit;
45 class QWidget;
46 
47 namespace Isis {
48  class Control;
49  class ControlMeasureEditWidget;
50  class ControlMeasure;
51  class ControlNet;
52  class Cube;
53  class CubeViewport;
54  class Directory;
55  class MdiCubeViewport;
56  class SerialNumberList;
57  class Stretch;
58  class ToolPad;
59  class UniversalGroundMap;
60 
122  Q_OBJECT
123 
124  public:
125  ControlPointEditWidget(Directory *directory, QWidget *parent, bool addMeasures = false);
126  virtual ~ControlPointEditWidget();
127 
128  QString editPointId();
129  ControlPoint *editPoint();
130 
131  signals:
132  void controlPointChanged(QString pointId);
133  void controlPointAdded(QString pointId);
134  void ignorePointChanged();
135  void ignoreLeftChanged();
136  void ignoreRightChanged();
137  void cnetModified();
138  void newControlNetwork(ControlNet *);
139  void stretchChipViewport(Stretch *, CubeViewport *);
140  void measureChanged();
141  // temporary signal for quick & dirty autosave in Ipce
142  void saveControlNet();
143 
144  public slots:
146  void setControl(Control *control);
147  void setControlFromActive();
148  void setEditPoint(ControlPoint *controlPoint, QString serialNumber = "");
149  void deletePoint(ControlPoint *controlPoint);
150 
151  void createControlPoint(double latitude, double longitude, Cube *cube = 0,
152  bool isGroundSource = false);
153 
154  // Changed colorizeSaveNetButton to public slot so it could be called from
155  // Directory::saveActiveControl(). This should be temporary until the modify/save functionality
156  // of active control is re-factored. Also added reset parameter, defaulting to false so button
157  // is red. This default was used so that current calls did not need to be changed.
158  void colorizeSaveNetButton(bool reset = false);
159 
160  void addTemplates(TemplateList *templateList);
161 
162  protected:
163  bool eventFilter(QObject *o,QEvent *e);
164 
165  private slots:
166 // void enterWhatsThisMode();
167  void reloadPoint();
168  void saveNet();
169 // void addMeasure();
170  void setPointType (int pointType);
171  void setLockPoint (bool ignore);
172  void setIgnorePoint (bool ignore);
173  void setLockLeftMeasure (bool ignore);
174  void setIgnoreLeftMeasure (bool ignore);
175  void setLockRightMeasure (bool ignore);
176  void setIgnoreRightMeasure (bool ignore);
177 
178  void selectLeftMeasure (int index);
179  void selectRightMeasure (int index);
180  void nextRightMeasure();
181  void previousRightMeasure();
182  void updateLeftMeasureInfo ();
183  void updateRightMeasureInfo ();
184 
185  void measureSaved();
186  void checkReference();
187 
188  void updateGroundPosition();
189  void updateSurfacePointInfo ();
190  void openReferenceRadius();
191  void groundSourceFileSelectionChanged(int index);
192 
193  void savePoint();
194 
195  void colorizeAllSaveButtons(QString color);
197 
198  void openTemplateFile();
199  void viewTemplateFile();
200  void saveChips();
201  void showHideTemplateEditor();
202  void saveTemplateFile();
203  void saveTemplateFileAs();
204  void setTemplateFile(QString);
205  void setTemplateModified();
206  void writeTemplateFile(QString);
207  void resetTemplateComboBox(QString fileName);
208  void clearEditPoint();
209 
210  private:
211  void createActions();
212 
213  void loadPoint(QString serialNumber = "");
214  void loadGroundMeasure();
215  void createPointEditor(QWidget *parent, bool addMeasures);
216  QSplitter * createTopSplitter();
217  QGroupBox * createControlPointGroupBox();
218  QGroupBox * createLeftMeasureGroupBox();
219  QGroupBox * createRightMeasureGroupBox();
221  void loadTemplateFile(QString);
222  bool okToContinue();
223  bool IsMeasureLocked(QString serialNumber);
225 
226  void setShapesForPoint(double latitude=Null, double longitude=Null);
228  bool setGroundSourceInfo();
231  void clearGroundSource();
232 
233  void initDem(QString demFile);
234  double demRadius(double latitude, double longitude);
235 
236  private:
237 
238  QPointer<QWidget> m_parent;
239  Directory *m_directory;
241 
242  QString m_cnetFileName;
243  QPointer<QLabel> m_cnetFileNameLabel;
245 
246  QPointer<QAction> m_closePointEditor;
247 
248  QPointer<QAction> m_saveChips;
249  QPointer<QAction> m_showHideTemplateEditor;
251  QPointer<QAction> m_openTemplateFile;
252  QPointer<QAction> m_saveTemplateFile;
253  QPointer<QAction> m_saveTemplateFileAs;
254 
255 
257  QPointer<ControlMeasureEditWidget> m_measureEditor;
258 
259  QPointer<QPushButton> m_reloadPoint;
260  QPointer<QPushButton> m_savePoint;
262 
263  QPointer<QPushButton> m_saveNet;
264 
265  QPointer<QTextEdit> m_templateEditor;
266  QPointer<QWidget> m_templateEditorWidget;
268 
269  QPointer<QComboBox> m_templateComboBox;
270  QPointer<QComboBox> m_groundSourceCombo;
271  QPointer<QComboBox> m_radiusSourceCombo;
272  QPointer<QLabel> m_ptIdValue;
273  QPointer<QComboBox> m_pointTypeCombo;
274  QPointer<QLabel> m_numMeasures;
275  QPointer<QLabel> m_aprioriLatitude;
276  QPointer<QLabel> m_aprioriLongitude;
277  QPointer<QLabel> m_aprioriRadius;
278 
279  QPointer<QCheckBox> m_lockPoint;
280  QPointer<QCheckBox> m_ignorePoint;
281  QPointer<QLabel> m_leftReference;
282  QPointer<QLabel> m_leftMeasureType;
283  QPointer<QLabel> m_rightReference;
284  QPointer<QLabel> m_rightMeasureType;
285  QPointer<QCheckBox> m_lockLeftMeasure;
286  QPointer<QCheckBox> m_ignoreLeftMeasure;
287  QPointer<QCheckBox> m_lockRightMeasure;
288  QPointer<QCheckBox> m_ignoreRightMeasure;
289 
290  QPointer<QComboBox> m_leftCombo;
291  QPointer<QComboBox> m_rightCombo;
292  QPointer<QStandardItemModel> m_model;
293 
294  QPointer<QMainWindow> m_measureWindow;
295  QPointer<QTableWidget> m_measureTable;
296 
297  QPointer<ControlPoint> m_editPoint;
299  QPointer<ControlNet> m_controlNet;
300  QPointer<Control> m_control;
301 
302  QPointer<ControlPoint> m_newPoint;
304 
306 
307  QString m_leftFile;
308  QPointer<ControlMeasure> m_leftMeasure;
309  QPointer<ControlMeasure> m_rightMeasure;
310  QScopedPointer<Cube> m_leftCube;
311  QScopedPointer<Cube> m_rightCube;
312 
316 
318  QString m_groundSN;
319  ControlPoint::SurfacePointSource::Source m_groundSourceType;
320  QScopedPointer<UniversalGroundMap> m_groundGmap;
321 
325  QString m_newGroundDir;
326 
327  // TODO: Combine the following m_groundSourceFile, m_radiusSourceFile
328  // with m_groundFile and m_demFile. Is it just a matter of
329  // full path vs filename only?
330  QString m_radiusFilename;
331  ControlPoint::RadiusSource::Source m_radiusSourceType;
332  bool m_demOpen;
333  QString m_demFile;
334  QScopedPointer<Cube> m_demCube;
335  };
336 };
337 #endif
Isis::ControlPointEditWidget::m_groundFilename
QString m_groundFilename
File name of ground source.
Definition: ControlPointEditWidget.h:317
Isis::ControlPointEditWidget::setLockRightMeasure
void setLockRightMeasure(bool ignore)
Set the "EditLock" keyword of the measure shown in the right viewport to the value of the input param...
Definition: ControlPointEditWidget.cpp:2437
Isis::ControlPointEditWidget::m_groundSourceCombo
QPointer< QComboBox > m_groundSourceCombo
ComboBox for selecting ground source.
Definition: ControlPointEditWidget.h:270
Isis::ControlPointEditWidget::setControlFromActive
void setControlFromActive()
New active control was set from ipce.
Definition: ControlPointEditWidget.cpp:697
Isis::ControlPointEditWidget::writeTemplateFile
void writeTemplateFile(QString)
Write the contents of the template editor to the file provided.
Definition: ControlPointEditWidget.cpp:2870
Isis::ControlPointEditWidget::m_pointTypeCombo
QPointer< QComboBox > m_pointTypeCombo
Combobox to change the type of the current point.
Definition: ControlPointEditWidget.h:273
Isis::ControlPointEditWidget::m_leftCube
QScopedPointer< Cube > m_leftCube
Left cube.
Definition: ControlPointEditWidget.h:310
QWidget
Isis::ControlPointEditWidget::updateSurfacePointInfo
void updateSurfacePointInfo()
Update the Surface Point Information in the ControlPointEditWidget.
Definition: ControlPointEditWidget.cpp:3030
Isis::ControlPointEditWidget::setIgnoreRightMeasure
void setIgnoreRightMeasure(bool ignore)
Set the "Ignore" keyword of the measure shown in the right viewport to the value of the input paramet...
Definition: ControlPointEditWidget.cpp:2477
Isis::ControlPointEditWidget::m_rightReference
QPointer< QLabel > m_rightReference
Label indicating if right measure is the reference.
Definition: ControlPointEditWidget.h:283
Isis::ControlPointEditWidget::m_saveDefaultPalette
QPalette m_saveDefaultPalette
Default color pallet of the "Save Point" button.
Definition: ControlPointEditWidget.h:261
Isis::ControlPointEditWidget::colorizeSavePointButton
void colorizeSavePointButton()
Refresh all necessary widgets in ControlPointEditWidget including the PointEditor and CubeViewports.
Definition: ControlPointEditWidget.cpp:3105
Isis::ControlPointEditWidget::m_addMeasuresButton
bool m_addMeasuresButton
Indicates whether or not to add "Add Measures(s) to Point".
Definition: ControlPointEditWidget.h:240
Isis::Directory
Definition: Directory.h:271
Isis::ControlPointEditWidget::checkGroundFileLocation
FileName checkGroundFileLocation(FileName groundFile)
Ground source file from control net cannot be found, give user option to give new location.
Definition: ControlPointEditWidget.cpp:887
Isis::ControlPointEditWidget::setIgnorePoint
void setIgnorePoint(bool ignore)
Set point's "Ignore" keyword to the value of the input parameter.
Definition: ControlPointEditWidget.cpp:2337
Isis::ControlPointEditWidget::m_savePoint
QPointer< QPushButton > m_savePoint
Button to save current point being edited.
Definition: ControlPointEditWidget.h:260
Isis::ControlPointEditWidget::setGroundSourceInfo
bool setGroundSourceInfo()
Find the ground source location: First look at current edit point for parameter, AprioriXYZSourceFile...
Definition: ControlPointEditWidget.cpp:813
Isis::ControlPointEditWidget::setTemplateFile
void setTemplateFile(QString)
Appends the filename to the registrations path (unless this is the default template) and calls setTem...
Definition: ControlPointEditWidget.cpp:2988
Isis::ControlPointEditWidget::selectLeftMeasure
void selectLeftMeasure(int index)
Select left measure.
Definition: ControlPointEditWidget.cpp:2546
Isis::ControlPointEditWidget::validateMeasureChange
bool validateMeasureChange(ControlMeasure *m)
Validates a change to a control measure.
Definition: ControlPointEditWidget.cpp:1850
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::ControlPointEditWidget::nextRightMeasure
void nextRightMeasure()
Selects the next right measure when activated by key shortcut.
Definition: ControlPointEditWidget.cpp:2502
Isis::ControlPointEditWidget::checkReference
void checkReference()
Change which measure is the reference.
Definition: ControlPointEditWidget.cpp:1995
Isis::ControlPointEditWidget::m_newGroundDir
QString m_newGroundDir
Contains the ground source location.
Definition: ControlPointEditWidget.h:325
Isis::ControlPointEditWidget::updateLeftMeasureInfo
void updateLeftMeasureInfo()
Update the left measure information.
Definition: ControlPointEditWidget.cpp:2650
Isis::Stretch
Pixel value mapper.
Definition: Stretch.h:58
Isis::ControlPointEditWidget::viewTemplateFile
void viewTemplateFile()
Allows the user to view the template file that is currently set.
Definition: ControlPointEditWidget.cpp:2922
Isis::ControlPointEditWidget::reloadPoint
void reloadPoint()
Set both chip viewports to their original measures for the control point.
Definition: ControlPointEditWidget.cpp:642
QMainWindow
Isis::ControlPointEditWidget::m_newPoint
QPointer< ControlPoint > m_newPoint
New control point.
Definition: ControlPointEditWidget.h:302
Isis::ControlPointEditWidget::saveChips
void saveChips()
Slot which calls ControlPointEditWidget slot to save chips.
Definition: ControlPointEditWidget.cpp:2948
Isis::ControlPointEditWidget::m_ignoreRightMeasure
QPointer< QCheckBox > m_ignoreRightMeasure
Checkbox to ignore the right measure.
Definition: ControlPointEditWidget.h:288
Isis::TemplateList
Definition: TemplateList.h:35
Isis::ControlPointEditWidget::createControlPoint
void createControlPoint(double latitude, double longitude, Cube *cube=0, bool isGroundSource=false)
Create a new control point at the given latitude, longitude.
Definition: ControlPointEditWidget.cpp:1455
Isis::ControlPointEditWidget::m_templateEditorWidget
QPointer< QWidget > m_templateEditorWidget
Template editor widget.
Definition: ControlPointEditWidget.h:266
Isis::ControlPointEditWidget::eventFilter
bool eventFilter(QObject *o, QEvent *e)
Event filter for ControlPointEditWidget.
Definition: ControlPointEditWidget.cpp:2735
Isis::ControlPointEditWidget::m_rightCombo
QPointer< QComboBox > m_rightCombo
Combobox to load right measure into right chip viewport.
Definition: ControlPointEditWidget.h:291
Isis::ControlPointEditWidget::m_editPoint
QPointer< ControlPoint > m_editPoint
The control point being edited.
Definition: ControlPointEditWidget.h:297
Isis::ControlPointEditWidget::m_groundSN
QString m_groundSN
Serial number of ground source file.
Definition: ControlPointEditWidget.h:318
Isis::ControlPointEditWidget::resetTemplateComboBox
void resetTemplateComboBox(QString fileName)
Reset the selected template in the template combobox if the template selected by the user does not sa...
Definition: ControlPointEditWidget.cpp:3006
Isis::ControlPointEditWidget::openReferenceRadius
void openReferenceRadius()
Open a radius source using the shape model of the reference measure of m_editPoint.
Definition: ControlPointEditWidget.cpp:974
Isis::ControlPointEditWidget::updateRightMeasureInfo
void updateRightMeasureInfo()
Update the right measure information.
Definition: ControlPointEditWidget.cpp:2696
Isis::ControlPointEditWidget::saveTemplateFile
void saveTemplateFile()
Save the file opened in the template editor.
Definition: ControlPointEditWidget.cpp:2837
Isis::ControlPointEditWidget::m_leftMeasure
QPointer< ControlMeasure > m_leftMeasure
Left control measure.
Definition: ControlPointEditWidget.h:308
Isis::Control
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:66
Isis::ControlPointEditWidget::changeGroundLocationsInNet
void changeGroundLocationsInNet()
Change the location of all ground source locations in the ControlNet.
Definition: ControlPointEditWidget.cpp:952
Isis::ControlPointEditWidget::loadTemplateFile
void loadTemplateFile(QString)
Updates the current template file being used.
Definition: ControlPointEditWidget.cpp:2803
Isis::ControlPointEditWidget::clearGroundSource
void clearGroundSource()
Clear out the ground source used for Constrained or Fixed control points.
Definition: ControlPointEditWidget.cpp:1124
Isis::ControlPointEditWidget::m_templateModified
bool m_templateModified
Indicates if the registration template was edited.
Definition: ControlPointEditWidget.h:267
Isis::ControlPointEditWidget::m_closePointEditor
QPointer< QAction > m_closePointEditor
Action to close the point editor.
Definition: ControlPointEditWidget.h:246
Isis::ControlPointEditWidget::showHideTemplateEditor
void showHideTemplateEditor()
Toggles the visibility of the template editor widget.
Definition: ControlPointEditWidget.cpp:2957
QStringList
Isis::ControlPointEditWidget::m_lockLeftMeasure
QPointer< QCheckBox > m_lockLeftMeasure
Checkbox to edit lock/unlock the left measure.
Definition: ControlPointEditWidget.h:285
Isis::SerialNumberList
Serial Number list generator.
Definition: SerialNumberList.h:64
Isis::ControlPointEditWidget::m_groundSourceType
ControlPoint::SurfacePointSource::Source m_groundSourceType
SurfacePoint type of ground source.
Definition: ControlPointEditWidget.h:319
QComboBox
Isis::ControlPointEditWidget::createTopSplitter
QSplitter * createTopSplitter()
Creates everything above the ControlPointEdit.
Definition: ControlPointEditWidget.cpp:290
Isis::ControlPointEditWidget::m_controlNet
QPointer< ControlNet > m_controlNet
Current control net.
Definition: ControlPointEditWidget.h:299
Isis::ControlPointEditWidget::setShapesForPoint
void setShapesForPoint(double latitude=Null, double longitude=Null)
Fill m_projectShapeNames with ALL shapes currently in project.
Definition: ControlPointEditWidget.cpp:584
Isis::ControlPointEditWidget::m_ignoreLeftMeasure
QPointer< QCheckBox > m_ignoreLeftMeasure
Checkbox to ignore the left measure.
Definition: ControlPointEditWidget.h:286
Isis::ControlPointEditWidget::m_reloadPoint
QPointer< QPushButton > m_reloadPoint
Button to reload current point to saved measures.
Definition: ControlPointEditWidget.h:259
Isis::ControlPointEditWidget::loadGroundMeasure
void loadGroundMeasure()
Load ground measure into right side and add to file combo boxes.
Definition: ControlPointEditWidget.cpp:723
Isis::ControlPointEditWidget::m_measureWindow
QPointer< QMainWindow > m_measureWindow
Main window for the the measure table widget.
Definition: ControlPointEditWidget.h:294
Isis::ControlPointEditWidget::m_projectShapeNames
QStringList m_projectShapeNames
List of Shapes imported into project, at time of loaded CP.
Definition: ControlPointEditWidget.h:313
Isis::ControlPointEditWidget::deletePoint
void deletePoint(ControlPoint *controlPoint)
Gives user options for deleting a control point from the control network.
Definition: ControlPointEditWidget.cpp:1568
Isis::ControlPointEditWidget::okToContinue
bool okToContinue()
Checks the state of the template registration file and determines if it is safe to continue opening a...
Definition: ControlPointEditWidget.cpp:2756
Isis::ControlPointEditWidget
Gui for editing ControlPoints in ipce application.
Definition: ControlPointEditWidget.h:121
Isis::ControlPointEditWidget::createTemporaryGroundMeasure
ControlMeasure * createTemporaryGroundMeasure()
Create a temporary measure to hold the ground point info for ground source.
Definition: ControlPointEditWidget.cpp:756
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::ControlPointEditWidget::loadPoint
void loadPoint(QString serialNumber="")
Load point into ControlPointEditWidget.
Definition: ControlPointEditWidget.cpp:1234
Isis::ControlPointEditWidget::previousRightMeasure
void previousRightMeasure()
Selects the previous right measure when activated by key shortcut.
Definition: ControlPointEditWidget.cpp:2522
Isis::ControlPointEditWidget::groundSourceFileSelectionChanged
void groundSourceFileSelectionChanged(int index)
Slot called when user changes selection in m_groundSourceCombo.
Definition: ControlPointEditWidget.cpp:1110
Isis::ControlPointEditWidget::m_templateEditor
QPointer< QTextEdit > m_templateEditor
Text editor for editing the registration template.
Definition: ControlPointEditWidget.h:265
Isis::ControlPointEditWidget::colorizeSaveNetButton
void colorizeSaveNetButton(bool reset=false)
Turn "Save Net" button text to red.
Definition: ControlPointEditWidget.cpp:3122
Isis::ControlPointEditWidget::IsMeasureLocked
bool IsMeasureLocked(QString serialNumber)
Check for implicitly locked measure in m_editPoint.
Definition: ControlPointEditWidget.cpp:3149
Isis::ControlPointEditWidget::setSerialNumberList
void setSerialNumberList(SerialNumberList *snList)
Set the serial number list.
Definition: ControlPointEditWidget.cpp:653
Isis::ControlPointEditWidget::m_leftFile
QString m_leftFile
Filename of left measure.
Definition: ControlPointEditWidget.h:307
Isis::ControlPointEditWidget::setControl
void setControl(Control *control)
New control network being edited.
Definition: ControlPointEditWidget.cpp:674
Isis::ControlPointEditWidget::createPointEditor
void createPointEditor(QWidget *parent, bool addMeasures)
Create the widget for editing control points.
Definition: ControlPointEditWidget.cpp:156
Isis::ControlPointEditWidget::m_demOpen
bool m_demOpen
Has a radius source been opened?
Definition: ControlPointEditWidget.h:332
Isis::ControlPointEditWidget::m_openTemplateFile
QPointer< QAction > m_openTemplateFile
Action to open a registration template file to disk.
Definition: ControlPointEditWidget.h:251
Isis::ControlPointEditWidget::initDem
void initDem(QString demFile)
Initialize the given Dem and appropriate member variables for later use editing Fixed or Constrained ...
Definition: ControlPointEditWidget.cpp:1019
Isis::ControlPointEditWidget::saveTemplateFileAs
void saveTemplateFileAs()
Save the contents of template editor to a file chosen by the user.
Definition: ControlPointEditWidget.cpp:2852
Isis::ControlPointEditWidget::m_radiusSourceCombo
QPointer< QComboBox > m_radiusSourceCombo
ComboBox for selecting ground source.
Definition: ControlPointEditWidget.h:271
Isis::ControlPointEditWidget::m_control
QPointer< Control > m_control
Current Control.
Definition: ControlPointEditWidget.h:300
Isis::ControlPointEditWidget::m_saveTemplateFileAs
QPointer< QAction > m_saveTemplateFileAs
Action to save a new registration template.
Definition: ControlPointEditWidget.h:253
Isis::ControlPointEditWidget::selectRightMeasure
void selectRightMeasure(int index)
Select right measure.
Definition: ControlPointEditWidget.cpp:2594
QStandardItemModel
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::ControlPointEditWidget::setLockLeftMeasure
void setLockLeftMeasure(bool ignore)
Set the "EditLock" keyword of the measure shown in the left viewport to the value of the input parame...
Definition: ControlPointEditWidget.cpp:2367
Isis::CubeViewport
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
Isis::ControlPointEditWidget::m_saveNet
QPointer< QPushButton > m_saveNet
Button to save the current control network.
Definition: ControlPointEditWidget.h:263
Isis::ControlPointEditWidget::m_ptIdValue
QPointer< QLabel > m_ptIdValue
Label for the point id of the current point.
Definition: ControlPointEditWidget.h:272
Isis::ControlPointEditWidget::createRightMeasureGroupBox
QGroupBox * createRightMeasureGroupBox()
Create the "Right Measure" groupbox.
Definition: ControlPointEditWidget.cpp:428
Isis::ControlPointEditWidget::createControlPointGroupBox
QGroupBox * createControlPointGroupBox()
Creates the "Control Point" groupbox.
Definition: ControlPointEditWidget.cpp:323
Isis::ControlPointEditWidget::m_nameToShapeMap
QMap< QString, Shape * > m_nameToShapeMap
Map between Shape display name and object.
Definition: ControlPointEditWidget.h:315
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
Isis::ControlPointEditWidget::setPointType
void setPointType(int pointType)
Set the point type.
Definition: ControlPointEditWidget.cpp:2250
Isis::ControlPointEditWidget::ControlPointEditWidget
ControlPointEditWidget(Directory *directory, QWidget *parent, bool addMeasures=false)
Consructs the ControlPointEditWidget widget.
Definition: ControlPointEditWidget.cpp:80
Isis::ControlPointEditWidget::m_rightMeasureType
QPointer< QLabel > m_rightMeasureType
Label for the right measure's adjustment type.
Definition: ControlPointEditWidget.h:284
Isis::ControlPointEditWidget::m_cnetModified
bool m_cnetModified
Indicates if the control network has been modified.
Definition: ControlPointEditWidget.h:244
Isis::ControlPointEditWidget::m_cnetFileNameLabel
QPointer< QLabel > m_cnetFileNameLabel
Label with name of the control network file.
Definition: ControlPointEditWidget.h:243
Isis::ControlPointEditWidget::createTemplateEditorWidget
void createTemplateEditorWidget()
Creates the Widget which contains the template editor and its toolbar.
Definition: ControlPointEditWidget.cpp:486
Isis::ControlPointEditWidget::addTemplates
void addTemplates(TemplateList *templateList)
Add registration TemplateList to combobox when imported to project.
Definition: ControlPointEditWidget.cpp:2971
Isis::ControlPointEditWidget::savePoint
void savePoint()
Save edit point to the Control Network.
Definition: ControlPointEditWidget.cpp:2192
Isis::ControlPointEditWidget::saveNet
void saveNet()
This slot is needed because we cannot directly emit a signal with a ControlNet argument after the "Sa...
Definition: ControlPointEditWidget.cpp:3173
Isis::ControlPointEditWidget::setLockPoint
void setLockPoint(bool ignore)
Set point's "EditLock" keyword to the value of the input parameter.
Definition: ControlPointEditWidget.cpp:2318
Isis::ControlPointEditWidget::setTemplateModified
void setTemplateModified()
Called when the template file is modified by the template editor.
Definition: ControlPointEditWidget.cpp:2827
Isis::ControlPointEditWidget::m_changeGroundLocationInNet
bool m_changeGroundLocationInNet
Change the ground source location.
Definition: ControlPointEditWidget.h:324
Isis::ControlPointEditWidget::openTemplateFile
void openTemplateFile()
Prompt user for a registration template file to open.
Definition: ControlPointEditWidget.cpp:2780
Isis::ControlPointEditWidget::setIgnoreLeftMeasure
void setIgnoreLeftMeasure(bool ignore)
Set the "Ignore" keyword of the measure shown in the left viewport to the value of the input paramete...
Definition: ControlPointEditWidget.cpp:2407
Isis::ControlPointEditWidget::m_lastUsedPointId
QString m_lastUsedPointId
Point id of the last used control point.
Definition: ControlPointEditWidget.h:303
Isis::ControlPointEditWidget::m_changeAllGroundLocation
bool m_changeAllGroundLocation
Change the ground source location of all fixed, constrained points in the network.
Definition: ControlPointEditWidget.h:322
Isis::ControlPointEditWidget::m_lockRightMeasure
QPointer< QCheckBox > m_lockRightMeasure
Checkbox to edit lock/unlock the right measure.
Definition: ControlPointEditWidget.h:287
Isis::ControlPointEditWidget::m_saveChips
QPointer< QAction > m_saveChips
Action to save the registration chips Action to toggle visibility of the registration template editor...
Definition: ControlPointEditWidget.h:248
QMap
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Isis::ControlPointEditWidget::m_leftCombo
QPointer< QComboBox > m_leftCombo
Combobox to load left measure into left chip viewport.
Definition: ControlPointEditWidget.h:290
Isis::ControlPointEditWidget::m_numberProjectShapesWithPoint
int m_numberProjectShapesWithPoint
Number of shapes containing control point.
Definition: ControlPointEditWidget.h:314
Isis::ControlPointEditWidget::demRadius
double demRadius(double latitude, double longitude)
Return a radius values from the dem using bilinear interpolation.
Definition: ControlPointEditWidget.cpp:1070
Isis::ControlPointEditWidget::m_templateComboBox
QPointer< QComboBox > m_templateComboBox
ComboBox of imported registration templates.
Definition: ControlPointEditWidget.h:269
Isis::ControlPointEditWidget::m_saveTemplateFile
QPointer< QAction > m_saveTemplateFile
Action to save a registration template file to disk.
Definition: ControlPointEditWidget.h:252
Isis::ControlPointEditWidget::m_rightCube
QScopedPointer< Cube > m_rightCube
Right cube.
Definition: ControlPointEditWidget.h:311
QObject
Isis::ControlPointEditWidget::createLeftMeasureGroupBox
QGroupBox * createLeftMeasureGroupBox()
Creates the "Left Measure" groupbox.
Definition: ControlPointEditWidget.cpp:386
Isis::ControlPointEditWidget::clearEditPoint
void clearEditPoint()
Cleans up the edit point memory.
Definition: ControlPointEditWidget.cpp:3185
Isis::ControlPointEditWidget::setEditPoint
void setEditPoint(ControlPoint *controlPoint, QString serialNumber="")
Slot called by Directory to set the control point for editing.
Definition: ControlPointEditWidget.cpp:1169
Isis::ControlPointEditWidget::m_measureEditor
QPointer< ControlMeasureEditWidget > m_measureEditor
Pointer to control measure editor widget.
Definition: ControlPointEditWidget.h:257
Isis::ControlPointEditWidget::m_parent
QPointer< QWidget > m_parent
Parent widget.
Definition: ControlPointEditWidget.h:238
Isis::ControlPointEditWidget::m_serialNumberList
SerialNumberList * m_serialNumberList
Serial number list for the loaded cubes.
Definition: ControlPointEditWidget.h:298
Isis::ControlPointEditWidget::m_measureTable
QPointer< QTableWidget > m_measureTable
Table widget for the measures.
Definition: ControlPointEditWidget.h:295
QAction
Isis::ControlPointEditWidget::m_rightMeasure
QPointer< ControlMeasure > m_rightMeasure
Right control measure.
Definition: ControlPointEditWidget.h:309
Isis::ControlPointEditWidget::m_leftReference
QPointer< QLabel > m_leftReference
Label indicating if left measure is the reference.
Definition: ControlPointEditWidget.h:281
Isis::ControlPointEditWidget::measureSaved
void measureSaved()
This method is connected with the measureSaved() signal from ControlMeasureEditWidget.
Definition: ControlPointEditWidget.cpp:1750
Isis::ControlPointEditWidget::m_lockPoint
QPointer< QCheckBox > m_lockPoint
Checkbox that locks/unlocks the current point.
Definition: ControlPointEditWidget.h:279
Isis::ControlPointEditWidget::m_ignorePoint
QPointer< QCheckBox > m_ignorePoint
Checkbox to ignore the current point.
Definition: ControlPointEditWidget.h:280
Isis::ControlPointEditWidget::m_leftMeasureType
QPointer< QLabel > m_leftMeasureType
Label for the left measure's adjustment type.
Definition: ControlPointEditWidget.h:282
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ControlPointEditWidget::m_cnetFileName
QString m_cnetFileName
Filename of the control network that is being modified.
Definition: ControlPointEditWidget.h:242
Isis::ControlPointEditWidget::createActions
void createActions()
Creates the actions for the widget.
Definition: ControlPointEditWidget.cpp:511
Isis::ControlPointEditWidget::m_pointFiles
QStringList m_pointFiles
Associated files for current control point.
Definition: ControlPointEditWidget.h:305
Isis::ControlMeasure
a control measurement
Definition: ControlMeasure.h:175