Isis 3.0 Programmer Reference
Back | Home
JigsawDialog.h
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:
58  BundleAdjust *m_bundleAdjust;
59  Project *m_project;
60  Control *m_selectedControl;
61  QString *m_selectedControlName;
62  BundleSettingsQsp m_bundleSettings;
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
QSharedPointer< BundleSettings > BundleSettingsQsp
Definition for a BundleSettingsQsp, a shared pointer to a BundleSettings object.
The main project for cnetsuite.
Definition: Project.h:105
Container class for BundleAdjustment results.
void updateIterationSigma0(int iteration, double sigma0)
Update the label or text edit area with the error message by appending to list and refreshing...
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
void bundleFinished(BundleSolutionInfo *bundleSolutionInfo)
This method will be called when the bundle is complete.
void outputBundleStatus(QString status)
Update the label or text edit area with the most recent status update by appending to list and refres...
void reportException(QString exception)
Update the label or text edit area with the error message by appending to list and refreshing...
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...
An image bundle adjustment object.
Definition: BundleAdjust.h:271

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:21:28