Isis Developer Reference
QnetNavTool.h
Go to the documentation of this file.
1 #ifndef QnetNavTool_h
2 #define QnetNavTool_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 
13 #include "Tool.h"
14 // forward declarations
15 class QComboBox;
16 class QDialog;
17 class QLabel;
18 class QListWidget;
19 class QListWidgetItem;
20 class QPushButton;
21 class QStackedWidget;
22 class QString;
23 class QVBoxLayout;
24 class QWidget;
25 
26 
27 namespace Isis {
28  class ControlMeasure;
29  class ControlNet;
30  class ControlPoint;
31  class QnetSetAprioriDialog;
32  class QnetTool;
33  class SerialNumberList;
34 
121  class QnetNavTool : public Tool {
122  Q_OBJECT
123 
124  public:
125  QnetNavTool(QnetTool *qnetTool, QWidget *parent);
126  ~QnetNavTool();
127 
128  enum FilterIndex {
130  Cubes
131  };
135  Id,
142  CubeName
143  };
148  };
149 
151  const QList<int> &filteredImages() const;
152 
154  const QList<int> &filteredPoints() const;
155 
157  const ControlNet *controlNet() const;
158 
160  const SerialNumberList *serialNumberList() const;
161 
162  public slots:
163  void resetList();
164  void refreshList();
165  void updateEditPoint(QString pointId);
167  void showNavTool();
168 
169  private slots:
170  void load();
171  void load(QListWidgetItem *);
172  void tie();
173  void filter();
174  void editPoint(QListWidgetItem *ptItem);
175  void filterList();
176  void resetFilter();
177  void enableButtons();
178  void ignorePoints();
179  void deletePoints();
180  void resetCubeList();
181  void updateActivityHistory(QString activityMessage);
182  void aprioriDialog();
183  void setAprioriDialogPoints();
184 
185  signals:
186  void activityUpdate(QString);
188  void loadImage(const QString &);
192  void pointChanged(QString pointId);
193  void netChanged();
195 
196  private:
197  void createNavigationDialog(QWidget *parent);
198  void createFilters();
199 // void listLockedPoints();
200 
201 
202  QDialog *m_navDialog;
203  QPushButton *m_filter;
204  bool m_filtered;
205  QPushButton *m_tie;
206  QPushButton *m_multiIgnore;
207  QPushButton *m_multiDelete;
208  QPushButton *m_setApriori;
209  QStackedWidget *m_filterStack;
210  QComboBox *m_listCombo;
211  QListWidget *m_listBox;
212  QLabel *m_filterCountLabel;
213  QVBoxLayout *m_historyLayout;
214  int m_filterCount;
215 
216  QString m_editPointId;
217 
218  QnetSetAprioriDialog *m_aprioriDialog;
219 
220  QnetTool *m_qnetTool;
221  QList<int> m_filteredPoints;
222  QList<int> m_filteredImages;
223  };
224 }
225 
226 #endif
Isis::QnetTool::serialNumberList
SerialNumberList * serialNumberList()
Definition: QnetTool.cpp:2589
Isis::QnetNavTool::GoodnessOfFit
@ GoodnessOfFit
Definition: QnetNavTool.h:141
QnetPointTypeFilter.h
FileName.h
QWidget
QnetPointGoodnessFilter.h
Isis::QnetNavTool::showNavTool
void showNavTool()
This method sets the Navigation Dialog window to shown=true.
Definition: QnetNavTool.cpp:1233
Isis::QnetNavTool::PointFilterIndex
PointFilterIndex
Definition: QnetNavTool.h:132
QList< int >
Isis::QnetCubePointsFilter
Defines the Points filter for the QnetNavTool's Cubes section.
Definition: QnetCubePointsFilter.h:32
Isis::QnetNavTool::CubeFilterIndex
CubeFilterIndex
Definition: QnetNavTool.h:144
Isis::QnetNavTool::disconnectAprioriDialog
void disconnectAprioriDialog()
Apriori dialog has been closed and needs to be disconnected and deleted so a new dialog can be brough...
Definition: QnetNavTool.cpp:1057
Isis::SerialNumberList::size
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
Isis::QnetNavTool::controlNet
ControlNet * controlNet()
Definition: QnetNavTool.cpp:476
Isis::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
QnetPointRangeFilter.h
Isis::QnetNavTool::serialNumberList
SerialNumberList * serialNumberList()
Definition: QnetNavTool.cpp:486
Isis::QnetPointMeasureFilter
Defines the Measure Properties filter for the QnetNavTool's Points section.
Definition: QnetPointMeasureFilter.h:47
Isis::ControlPoint::PointLocked
@ PointLocked
This is returned when the operation requires Edit Lock to be false but it is currently true.
Definition: ControlPoint.h:408
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
SpecialPixel.h
Isis::ControlPoint::SetEditLock
Status SetEditLock(bool editLock)
Set the EditLock state.
Definition: ControlPoint.cpp:522
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
QnetPointIdFilter.h
Isis::QnetNavTool::Id
@ Id
Definition: QnetNavTool.h:135
Isis::QnetNavTool::resetList
void resetList()
Resets the list box with whatever is in the global lists.
Definition: QnetNavTool.cpp:517
Isis::QnetNavTool::Distance
@ Distance
Definition: QnetNavTool.h:139
Isis::QnetNavTool::MeasureType
@ MeasureType
Definition: QnetNavTool.h:140
Isis::QnetNavTool::NumberImages
@ NumberImages
Definition: QnetNavTool.h:136
Isis::QnetNavTool::QnetNavTool
QnetNavTool(QnetTool *qnetTool, QWidget *parent)
Constructs the Navigation Tool window.
Definition: QnetNavTool.cpp:67
QnetPointImagesFilter.h
Isis::QnetPointImagesFilter
Defines the Images filter for the QnetNavTool's Points section, i.e.
Definition: QnetPointImagesFilter.h:27
Longitude.h
Isis::QnetNavTool::PointDistance
@ PointDistance
Definition: QnetNavTool.h:147
Isis::QnetNavTool::loadPointImages
void loadPointImages(ControlPoint *)
Isis::QnetNavTool::modifyPoint
void modifyPoint(ControlPoint *)
Isis::QnetNavTool::LatLonRange
@ LatLonRange
Definition: QnetNavTool.h:138
Tool.h
QnetCubeDistanceFilter.h
Isis::ControlPoint::IsEditLocked
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
Isis::QnetSetAprioriDialog
Definition: QnetSetAprioriDialog.h:42
Isis::QnetNavTool::ignoredPoints
void ignoredPoints()
Isis::SerialNumberList
Serial Number list generator.
Definition: SerialNumberList.h:64
QComboBox
Isis::Distance
Distance measurement, usually in meters.
Definition: Distance.h:34
Isis::QnetPointRangeFilter
Defines the Range filter for the QnetNavTool's Points section.
Definition: QnetPointRangeFilter.h:27
Isis::QnetPointRegistrationErrorFilter
Defines the Registration Error filter for the QnetNavTool's Points section.
Definition: QnetPointRegistrationErrorFilter.h:43
Isis::QnetPointTypeFilter
Filter for control point type.
Definition: QnetPointTypeFilter.h:37
Isis::QnetNavTool::JigsawErrors
@ JigsawErrors
Definition: QnetNavTool.h:133
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::QnetNavTool::~QnetNavTool
~QnetNavTool()
Definition: QnetNavTool.cpp:247
Isis::QnetNavTool::activityUpdate
void activityUpdate(QString)
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
ControlNet.h
Latitude.h
QnetCubeNameFilter.h
Isis::ControlNet::GetNumPoints
int GetNumPoints() const
Return the number of control points in the network.
Definition: ControlNet.cpp:1465
QnetNavTool.h
Isis::QnetNavTool::filteredImages
QList< int > & filteredImages()
Definition: QnetNavTool.cpp:456
Isis::QnetNavTool::RegistrationErrors
@ RegistrationErrors
Definition: QnetNavTool.h:134
Isis::QnetNavTool::FilterIndex
FilterIndex
Definition: QnetNavTool.h:128
SurfacePoint.h
SerialNumberList.h
QnetTool.h
QnetPointCubeNameFilter.h
Isis::QnetNavTool::refreshList
void refreshList()
Slot to refresh the listBox.
Definition: QnetNavTool.cpp:641
Isis::QnetNavTool::CubeName
@ CubeName
Definition: QnetNavTool.h:142
Isis::QnetTool
Qnet tool operations.
Definition: QnetTool.h:256
ControlPoint.h
Isis::QnetPointDistanceFilter
Defines the Distance filter for the QnetNavTool's Points section.
Definition: QnetPointDistanceFilter.h:31
Isis::QnetNavTool::loadImage
void loadImage(const QString &)
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::QnetNavTool::Points
@ Points
Definition: QnetNavTool.h:129
Isis::QnetNavTool::updateEditPoint
void updateEditPoint(QString pointId)
Update the list showing the new point highlighted.
Definition: QnetNavTool.cpp:595
QnetPointRegistrationErrorFilter.h
QnetPointJigsawErrorFilter.h
QnetPointMeasureFilter.h
Camera.h
Isis::QnetPointJigsawErrorFilter
Defines the Jigsaw Error filter for the QnetNavTool's Points section.
Definition: QnetPointJigsawErrorFilter.h:41
Isis::QnetCubeNameFilter
Defines the Name filter for the QnetNavTool's Cubes section.
Definition: QnetCubeNameFilter.h:26
IException.h
Isis::QnetNavTool::netChanged
void netChanged()
Isis::QnetNavTool::Type
@ Type
Definition: QnetNavTool.h:137
std
Namespace for the standard library.
Isis::QnetNavTool::filteredPoints
QList< int > & filteredPoints()
Definition: QnetNavTool.cpp:466
Isis::QnetNavTool::Name
@ Name
Definition: QnetNavTool.h:145
QnetPointDistanceFilter.h
Isis::QnetNavTool::deletedPoints
void deletedPoints()
Angle.h
Isis::QnetNavTool
Qnet Navigation Tool.
Definition: QnetNavTool.h:121
QDialog
Isis::QnetNavTool::serialListModified
void serialListModified()
Isis::QnetPointIdFilter
Defines the Point ID filter for the QnetNavTool's Points section.
Definition: QnetPointIdFilter.h:27
Distance.h
Isis::QnetPointCubeNameFilter
Defines the Cube Name filter for the QnetNavTool's Points section.
Definition: QnetPointCubeNameFilter.h:30
Isis::QnetNavTool::Cubes
@ Cubes
Definition: QnetNavTool.h:130
Isis::QnetPointGoodnessFilter
Defines the Goodness of Fit filter for the QnetNavTool's Points section.
Definition: QnetPointGoodnessFilter.h:35
Isis::QnetTool::controlNet
ControlNet * controlNet()
Definition: QnetTool.cpp:2579
Isis::QnetNavTool::pointChanged
void pointChanged(QString pointId)
Isis::QnetNavTool::NumberPoints
@ NumberPoints
Definition: QnetNavTool.h:146
Isis::QnetPointJigsawErrorFilter::filter
virtual void filter()
Filters a list of points for points that have less than or greater than the entered bundle adjust err...
Definition: QnetPointJigsawErrorFilter.cpp:92
ControlMeasure.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
QnetSetAprioriDialog.h
Isis::QnetCubeDistanceFilter
Defines the Distance filter for the QnetNavTool's Cubes section.
Definition: QnetCubeDistanceFilter.h:40
QnetCubePointsFilter.h