Isis 3.0
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>

Inherits QDialog.

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)
 
 ~JigsawDialog ()
 

Protected Attributes

BundleAdjustm_bundleAdjust
 
Projectm_project
 
Controlm_selectedControl
 
QString * m_selectedControlName
 
BundleSettingsQsp m_bundleSettings
 

Detailed Description

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

Author
2014-??-?? Ken Edmundson

Constructor & Destructor Documentation

Isis::JigsawDialog::~JigsawDialog ( )

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.

References Isis::Project::addBundleSolutionInfo(), Isis::BundleSolutionInfo::bundleResults(), Isis::BundleResults::converged(), Isis::iTime::CurrentLocalTime(), m_project, 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.

References Ui_JigsawDialog::statusUpdateScrollArea, and Ui_JigsawDialog::statusUpdatesLabel.

void Isis::JigsawDialog::notifyThreadFinished ( )
slot
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.

References Ui_JigsawDialog::statusUpdateScrollArea, and Ui_JigsawDialog::statusUpdatesLabel.

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.

References Ui_JigsawDialog::statusUpdateScrollArea, and Ui_JigsawDialog::statusUpdatesLabel.

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.

References Ui_JigsawDialog::iterationLcdNumber, and Ui_JigsawDialog::sigma0LcdNumber.

Member Data Documentation

BundleAdjust* Isis::JigsawDialog::m_bundleAdjust
protected

Referenced by JigsawDialog().

BundleSettingsQsp Isis::JigsawDialog::m_bundleSettings
protected
Project* Isis::JigsawDialog::m_project
protected

Referenced by bundleFinished(), and JigsawDialog().

Control* Isis::JigsawDialog::m_selectedControl
protected

Referenced by JigsawDialog().

QString* Isis::JigsawDialog::m_selectedControlName
protected

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