Isis 3.0
Home
JigsawDialog.h
Go to the documentation of this file.
1 #ifndef JigsawDialog_h
2 #define JigsawDialog_h
3 
4 #include <QDialog>
5 #include <QWidget>
6 
7 #include "BundleSettings.h"
8 #include "IException.h"
9 
10 namespace Ui {
11  class JigsawDialog;
12 }
13 
14 class QString;
15 
16 namespace Isis {
17  class BundleAdjust;
18  class BundleSolutionInfo;
19  class Control;
20  class Directory;
21  class Project;
22 
41  class JigsawDialog : public QDialog {
42  Q_OBJECT
43 
44  public:
45  explicit JigsawDialog(Project *project, QWidget *parent = 0);
46 
47  ~JigsawDialog();
48 
49  public slots:
50  void outputBundleStatus(QString status);
51  void errorString(QString error);
52  void reportException(QString exception);
53  void updateIterationSigma0(int iteration, double sigma0);
54  void bundleFinished(BundleSolutionInfo *bundleSolutionInfo);
55  void notifyThreadFinished();
56 
57  protected:
63 
64  private:
65  bool m_bRunning;
66 
67  private slots:
68  void on_JigsawSetupButton_pressed();
69  void on_JigsawRunButton_clicked();
70 
71  private:
72  Ui::JigsawDialog *m_ui;
73  };
74 };
75 #endif
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:57
~JigsawDialog()
Definition: JigsawDialog.cpp:47
BundleAdjust * m_bundleAdjust
Definition: JigsawDialog.h:58
QSharedPointer< BundleSettings > BundleSettingsQsp
Definition for a BundleSettingsQsp, a shared pointer to a BundleSettings object.
Definition: BundleSettings.h:404
The main project for cnetsuite.
Definition: Project.h:105
BundleSettingsQsp m_bundleSettings
Definition: JigsawDialog.h:62
Container class for BundleAdjustment results.
Definition: BundleSolutionInfo.h:98
void updateIterationSigma0(int iteration, double sigma0)
Update the label or text edit area with the error message by appending to list and refreshing...
Definition: JigsawDialog.cpp:273
Definition: ui_JigsawDialog.h:156
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
void notifyThreadFinished()
Definition: JigsawDialog.cpp:281
Control * m_selectedControl
Definition: JigsawDialog.h:60
void bundleFinished(BundleSolutionInfo *bundleSolutionInfo)
This method will be called when the bundle is complete.
Definition: JigsawDialog.cpp:304
void outputBundleStatus(QString status)
Update the label or text edit area with the most recent status update by appending to list and refres...
Definition: JigsawDialog.cpp:224
Project * m_project
Definition: JigsawDialog.h:59
void reportException(QString exception)
Update the label or text edit area with the error message by appending to list and refreshing...
Definition: JigsawDialog.cpp:257
This dialog allows the user to select the bundle adjust parameters, run the bundle, and view the results.
Definition: JigsawDialog.h:41
void errorString(QString error)
Update the label or text edit area with the error message by appending to list and refreshing...
Definition: JigsawDialog.cpp:241
QString * m_selectedControlName
Definition: JigsawDialog.h:61
JigsawDialog(Project *project, QWidget *parent=0)
Definition: JigsawDialog.cpp:23
An image bundle adjustment object.
Definition: BundleAdjust.h:271
Definition: Directory.h:106