Isis Developer Reference
|
This dialog allows the user to select the bundle adjust parameters, run the bundle, and view the results. More...
#include <JigsawRunWidget.h>
Public Slots | |
void | outputBundleStatus (QString status) |
Update the label or text edit area with the most recent status update by appending to list and refreshing. More... | |
void | errorString (QString error) |
Update the label or text edit area with the error message by appending to list and refreshing. More... | |
void | reportException (QString exception) |
Update the label or text edit area with the error message by appending to list and refreshing. More... | |
void | updateIteration (int iteration) |
Update the label or text edit area with the error message by appending to list and refreshing. More... | |
void | updatePoint (int point) |
Update the label or text edit area with the error message by appending to list and refreshing. More... | |
void | updateStatus (QString status) |
Update the label or text edit area with the error message by appending to list and refreshing. More... | |
void | bundleFinished (BundleSolutionInfo *bundleSolutionInfo) |
This method will be called when the bundle is complete. More... | |
void | notifyThreadFinished () |
Notifies the widget that the bundle thread has finished. More... | |
Public Member Functions | |
JigsawRunWidget (Project *project, QWidget *parent=0) | |
Constructor. More... | |
JigsawRunWidget (Project *project, BundleSettingsQsp bundleSettings, Control *selectedControl, QString outputControlFileName, QWidget *parent=0) | |
Constructor that takes bundle settings and a selected control. More... | |
~JigsawRunWidget () | |
Destructor. More... | |
void | closeEvent (QCloseEvent *event) |
This method is called whenever the widget recieves a close request. More... | |
Protected Member Functions | |
void | init () |
Constructor delegate. More... | |
Protected Attributes | |
BundleAdjust * | m_bundleAdjust |
Project * | m_project |
Control * | m_selectedControl |
QString | m_selectedControlName |
QString | m_outputControlName |
BundleSettingsQsp | m_bundleSettings |
This dialog allows the user to select the bundle adjust parameters, run the bundle, and view the results.
Constructor.
Creates a widget for running a jigsaw (bundle adjustment) and changing the solve settings.
Project | *project Pointer to the project this widget belongs to. |
QWidget | *parent Pointer to parent widget. |
References init(), m_project, and m_selectedControl.
|
explicit |
Constructor that takes bundle settings and a selected control.
Creates a widget after the jigsaw solve settings have been set up and a control has been selected.
Project | *project Pointer to the project this widget belongs to. |
BundleSettingsQsp | bundleSettings Settings to give to this widget to use for a jigsaw. |
Control | *selectedControl Pointer to the selected control to adjust. |
QWidget | *parent Pointer to the parent widget. |
References Isis::Control::fileName(), init(), m_bundleSettings, m_outputControlName, m_project, m_selectedControl, m_selectedControlName, and Isis::FileName::name().
Isis::JigsawRunWidget::~JigsawRunWidget | ( | ) |
Destructor.
References m_bundleAdjust.
|
slot |
This method will be called when the bundle is complete.
This method will only be used when the bundle is threaded. It can be used when the bundle is not threaded but we don't need it because we have solveCholeskyBR().
bundleSolutionInfo | The results of the bundle run. |
References Isis::iTime::CurrentLocalTime(), and Isis::BundleSolutionInfo::setRunTime().
void Isis::JigsawRunWidget::closeEvent | ( | QCloseEvent * | event | ) |
This method is called whenever the widget recieves a close request.
If a bundle is running, the user will be asked if they want to abort the bundle. In this case, the bundle thread must be scheduled to delete when it has finished aborting. Otherwise, the event will accept.
event | The close event being handled. |
References Isis::BundleAdjust::abortBundle(), and m_bundleAdjust.
|
slot |
Update the label or text edit area with the error message by appending to list and refreshing.
error | Error status of bundle. |
|
protected |
Constructor delegate.
Delegate method that helps the constructors. This is used to reduce repeated code.
References Isis::Project::bundleSolutionInfo(), m_bundleAdjust, and m_project.
Referenced by JigsawRunWidget().
|
slot |
Notifies the widget that the bundle thread has finished.
This slot is used to notify the widget that the bundle has finished. The bundle thread finishes when the bundle adjust finishes (either successfully or unsuccessfully, or if the user aborts the run).
References Isis::BundleSolutionInfo::bundleResults(), Isis::BundleAdjust::isAborted(), m_bundleAdjust, m_bundleSettings, Isis::BundleResults::sigmaCoord1StatisticsRms(), Isis::BundleResults::sigmaCoord2StatisticsRms(), and Isis::BundleResults::sigmaCoord3StatisticsRms().
|
slot |
Update the label or text edit area with the most recent status update by appending to list and refreshing.
status | Current status of bundle. |
|
slot |
Update the label or text edit area with the error message by appending to list and refreshing.
error | Error status of bundle. |
|
slot |
Update the label or text edit area with the error message by appending to list and refreshing.
error | Error status of bundle. |
|
slot |
Update the label or text edit area with the error message by appending to list and refreshing.
error | Error status of bundle. |
|
slot |
Update the label or text edit area with the error message by appending to list and refreshing.
error | Error status of bundle. |
|
protected |
Referenced by closeEvent(), init(), notifyThreadFinished(), and ~JigsawRunWidget().
|
protected |
Referenced by JigsawRunWidget(), and notifyThreadFinished().
|
protected |
Referenced by JigsawRunWidget().
|
protected |
Referenced by init(), and JigsawRunWidget().
|
protected |
Referenced by JigsawRunWidget().
|
protected |
Referenced by JigsawRunWidget().