Isis 3.0 Programmer Reference
Back | Home
Isis::JigsawDialog Class Reference

This dialog allows the user to select the bundle adjust parameters, run the bundle, and view the results. More...

#include <JigsawDialog.h>

Inheritance diagram for Isis::JigsawDialog:
Inheritance graph
Collaboration diagram for Isis::JigsawDialog:
Collaboration graph

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 updateIterationSigma0 (int iteration, double sigma0)
 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 ()
 

Public Member Functions

 JigsawDialog (Project *project, QWidget *parent=0)
 

Protected Attributes

BundleAdjustm_bundleAdjust
 
Projectm_project
 
Controlm_selectedControl
 
QString * m_selectedControlName
 
BundleSettingsQsp m_bundleSettings
 

Private Slots

void on_JigsawSetupButton_pressed ()
 
void on_JigsawRunButton_clicked ()
 

Private Attributes

bool m_bRunning
 
Ui::JigsawDialogm_ui
 

Detailed Description

This dialog allows the user to select the bundle adjust parameters, run the bundle, and view the results.

Author
2014-??-?? Ken Edmundson
History:

2014-09-18 Kimberly Oyama - Added code to thread the bundle run. It is currently commented out but it works.

2015-02-20 Jeannie Backer - Replaced BundleResults references with BundleSolutionInfo and BundleStatistics references with BundleResults due to class name changes.

2015-09-03 Jeannie Backer - Modified to create JigsawSetupDialog object using the value for the useLastSettings checkbox. When the Run button is clicked, the run time will now be used to create a uniquely named directory to contain the output files for the bundle solution.

Definition at line 41 of file JigsawDialog.h.

Member Function Documentation

void Isis::JigsawDialog::bundleFinished ( BundleSolutionInfo bundleSolutionInfo)
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().

Parameters
bundleSolutionInfoThe results of the bundle run.

Definition at line 304 of file JigsawDialog.cpp.

References Isis::Project::addBundleSolutionInfo(), Isis::BundleSolutionInfo::bundleResults(), Isis::BundleResults::converged(), Isis::iTime::CurrentLocalTime(), and Isis::BundleSolutionInfo::setRunTime().

void Isis::JigsawDialog::errorString ( QString  error)
slot

Update the label or text edit area with the error message by appending to list and refreshing.

Parameters
errorError status of bundle.

Definition at line 241 of file JigsawDialog.cpp.

void Isis::JigsawDialog::outputBundleStatus ( QString  status)
slot

Update the label or text edit area with the most recent status update by appending to list and refreshing.

Parameters
statusCurrent status of bundle.

Definition at line 224 of file JigsawDialog.cpp.

void Isis::JigsawDialog::reportException ( QString  exception)
slot

Update the label or text edit area with the error message by appending to list and refreshing.

Parameters
errorError status of bundle.

Definition at line 257 of file JigsawDialog.cpp.

void Isis::JigsawDialog::updateIterationSigma0 ( int  iteration,
double  sigma0 
)
slot

Update the label or text edit area with the error message by appending to list and refreshing.

Parameters
errorError status of bundle.

Definition at line 273 of file JigsawDialog.cpp.


The documentation for this class was generated from the following files:

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:56:42