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
15class QComboBox;
16class QDialog;
17class QLabel;
18class QListWidget;
19class QListWidgetItem;
20class QPushButton;
21class QStackedWidget;
22class QString;
23class QVBoxLayout;
24class QWidget;
25
26
27namespace 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
149
150 QList<int> &filteredImages();
151 const QList<int> &filteredImages() const;
152
153 QList<int> &filteredPoints();
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);
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
a control network
Definition ControlNet.h:258
A single control point.
Definition ControlPoint.h:356
Qnet Navigation Tool.
Definition QnetNavTool.h:121
CubeFilterIndex
Definition QnetNavTool.h:144
@ NumberPoints
Definition QnetNavTool.h:146
@ Name
Definition QnetNavTool.h:145
@ PointDistance
Definition QnetNavTool.h:147
~QnetNavTool()
Definition QnetNavTool.cpp:247
QnetNavTool(QnetTool *qnetTool, QWidget *parent)
Constructs the Navigation Tool window.
Definition QnetNavTool.cpp:67
void showNavTool()
This method sets the Navigation Dialog window to shown=true.
Definition QnetNavTool.cpp:1233
QList< int > & filteredPoints()
Definition QnetNavTool.cpp:466
void loadImage(const QString &)
void pointChanged(QString pointId)
void loadPointImages(ControlPoint *)
ControlNet * controlNet()
Definition QnetNavTool.cpp:476
void serialListModified()
FilterIndex
Definition QnetNavTool.h:128
@ Cubes
Definition QnetNavTool.h:130
@ Points
Definition QnetNavTool.h:129
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
void resetList()
Resets the list box with whatever is in the global lists.
Definition QnetNavTool.cpp:517
void updateEditPoint(QString pointId)
Update the list showing the new point highlighted.
Definition QnetNavTool.cpp:595
PointFilterIndex
Definition QnetNavTool.h:132
@ Distance
Definition QnetNavTool.h:139
@ Type
Definition QnetNavTool.h:137
@ NumberImages
Definition QnetNavTool.h:136
@ CubeName
Definition QnetNavTool.h:142
@ RegistrationErrors
Definition QnetNavTool.h:134
@ JigsawErrors
Definition QnetNavTool.h:133
@ MeasureType
Definition QnetNavTool.h:140
@ GoodnessOfFit
Definition QnetNavTool.h:141
@ Id
Definition QnetNavTool.h:135
@ LatLonRange
Definition QnetNavTool.h:138
void refreshList()
Slot to refresh the listBox.
Definition QnetNavTool.cpp:641
SerialNumberList * serialNumberList()
Definition QnetNavTool.cpp:486
QList< int > & filteredImages()
Definition QnetNavTool.cpp:456
void modifyPoint(ControlPoint *)
void activityUpdate(QString)
Definition QnetSetAprioriDialog.h:42
Qnet tool operations.
Definition QnetTool.h:259
Serial Number list generator.
Definition SerialNumberList.h:64
Base class for the Qisis tools.
Definition Tool.h:67
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16