Isis 3 Programmer Reference
|
Container class for BundleAdjustment results. More...
#include <BundleSolutionInfo.h>
Public Slots | |
void | updateFileName (Project *) |
TODO: change description below to something more like english. | |
Public Member Functions | |
BundleSolutionInfo (BundleSettingsQsp inputSettings, FileName controlNetworkFileName, BundleResults outputStatistics, QList< ImageList * > imgList, QObject *parent=0) | |
Constructor. | |
BundleSolutionInfo (BundleSettingsQsp inputSettings, FileName controlNetworkFileName, FileName lidarDataFileName, BundleResults outputStatistics, QList< ImageList * > imgList, QObject *parent=0) | |
Constructor. | |
BundleSolutionInfo (Project *project, QXmlStreamReader *xmlReader, QObject *parent=0) | |
Handle an XML start element. | |
void | readBundleSolutionInfo (QXmlStreamReader *xmlReader) |
~BundleSolutionInfo () | |
Destructor. | |
QString | savedBundleOutputFilename () |
Returns bundleout text filename. | |
QString | savedImagesFilename () |
Returns filename of output bundle images csv file. | |
QString | savedPointsFilename () |
Returns filename of output bundle points csv file. | |
QString | savedResidualsFilename () |
Returns filename of output bundle residuals csv file. | |
void | addAdjustedImages (ImageList *images) |
Adds a list of images that were adjusted (their labels were updated). | |
void | setOutputStatistics (BundleResults statisticsResults) |
Sets the stat results. | |
void | setOutputControl (Control *outputControl) |
Returns the name of the output control network. | |
void | setOutputControlName (QString name) |
Sets m_outputControlName. | |
void | setRunTime (QString runTime) |
Sets the run time, and the name if a name is not already set. | |
void | setName (QString name) |
Sets the name of the bundle. | |
QList< ImageList * > | adjustedImages () const |
Returns the list of images that were adjusted after a bundle. | |
QString | id () const |
Get a unique, identifying string associated with this BundleSolutionInfo object. | |
QString | inputControlNetFileName () const |
Returns the name of the input control network. | |
QString | outputControlNetFileName () const |
Returns the name of the output control network. | |
Control * | control () const |
Returns bundle output Control object. | |
QString | outputControlName () const |
Returns m_outputControlName. | |
QString | inputLidarDataFileName () const |
Returns name of input lidar data file (if any). | |
BundleSettingsQsp | bundleSettings () |
Returns bundle settings. | |
BundleResults | bundleResults () |
Returns the bundle results. | |
QList< ImageList * > | imageList () |
Returns the images used in the bundle. | |
QString | runTime () const |
Returns the run time. | |
QString | name () const |
Returns the name of the bundle. | |
bool | outputImagesCSVHeader (std::ofstream &fpOut, BundleObservationQsp observations) |
Outputs the header for the bundleout_images.csv file. | |
bool | outputHeader (std::ofstream &fpOut) |
Output header for bundle results file. | |
bool | outputText () |
Outputs a text file with the results of the BundleAdjust. | |
bool | outputImagesCSV () |
Outputs the bundleout_images.csv file which contains Jigsaw data about the images within each observation. | |
bool | outputPointsCSV () |
Outputs point data to a csv file. | |
bool | outputLidarCSV () |
Outputs lidar data to a csv file. | |
bool | outputResiduals () |
Outputs image coordinate residuals to a csv file. | |
void | save (QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const |
Saves the BundleSolutionInfo to the project. | |
QString | surfacePointCoordName (SurfacePoint::CoordinateType type, SurfacePoint::CoordIndex coordInx) const |
Determine the control point coordinate name. | |
Private Attributes | |
QUuid * | m_id |
A unique ID for this BundleSolutionInfo object (useful for others to reference this object when saving to disk). | |
QString | m_name |
Name of the bundle. Defaults to the id. | |
QString | m_runTime |
Run time of the bundle adjustment. | |
FileName * | m_inputControlNetFileName |
Input control network file name. | |
Control * | m_outputControl |
Output control. | |
QString | m_outputControlName |
FileName * | m_inputLidarDataFileName |
Input lidar data file name. | |
LidarData * | m_outputLidarDataSet |
QList of adjusted lidar points. | |
BundleSettingsQsp | m_settings |
Bundle settings. | |
BundleResults * | m_statisticsResults |
Bundle statistical results. | |
QList< ImageList * > * | m_images |
Input image list. | |
QList< ImageList * > * | m_adjustedImages |
Adjusted image list. | |
QString | m_txtBundleOutputFilename |
QString | m_csvSavedImagesFilename |
QString | m_csvSavedPointsFilename |
QString | m_csvSavedResidualsFilename |
Project * | m_xmlHandlerProject |
QString | m_xmlHandlerCharacters |
List of characters that have been handled. | |
Container class for BundleAdjustment results.
This class includes the settings used to run the bundle adjustment, the resulting statistics values, and the name of the control network used. NOTE: BundleSolutionInfo is derived from QObject as it has one slot (perhaps more signals and slots in the future? As a child of QObject it should have no copy constructor or assignment operator. See for example...
http://doc.qt.io/qt-5/qobject.html#no-copy-constructor
2014-07-08 Jeannie Backer - Original version.
2014-07-23 Jeannie Backer - Added implementation for the QDataStream << and >> operators and the read/write methods.
2014-12-04 Jeannie Backer - Renamed from BundleResults to BundleSolutionInfo.
2015-09-03 Jeannie Backer - Added preliminary hdf5 read/write capabilities.
2015-10-14 Jeffrey Covington - Declared BundleSolutionInfo * as a Qt metatype for use with QVariant.
2016-06-13 Makayla Shepherd - Added updateFileName() and updated documentation. Fixes #2298.
2016-08-15 Jesse Mapel - added output, outputHeader, outputText, outputPointsCSV, and outputResiduals from BundleAdjust. Fixes #4159.
2016-08-18 Jeannie Backer - Removed all references to deprecated BundleSettings::solveMethod. References #4162.
2016-08-23 Jesse Mapel - Removed output() method. Individual output file methods must be called. Fixes #4279.
2016-09-02 Jesse Mapel - Added camera point and position input parameters to output files when using only one set of solve settings. Fixes #4316.
2016-10-06 Tyler Wilson - Added methods outputImagesCSV() and outputImagesCSVHeader which enables jigsaw users to output the bundleout_images.csv file. Fixes #4314.
2016-10-17 Jesse Mapel - Removed multiple solve settings output in accordance with USEPVL being removed from jigsaw. References #4316.
2016-10-28 Tyler Wilson - Modified outputText() to check and output if the solution is solving for the radius. References #4317.
2016-11-14 Ken Edmundson Modified the following... -Changed column headers in images.csv to match row headers in bundleout.txt (instead of at2, bt, c to indicate coefficients, now using t2, t1, t0, etc) -Added output of CKDEGREE, CKSOLVEDEGREE, SPKDEGREE, SPKSOLVEDEGREE to bundleout.txt header when CAMSOLVE=ALL and/or SPSOLVE=ALL -Fixed typo under SPACECRAFT OPTIONS; what should have said "SPSOLVE: All POLYNOMIAL COEFFICIENTS" was "CAMSOLVE: All POLYNOMIAL COEFFICIENTS" -modified output of image EO in bundleout.txt for images solved with observation mode; previously one entry per observation was written, now all images in the observation are written separately.
2016-12-01 Ian Humphrey - Modified an sprintf() call in outputImagesCSV() to prevent a -Wformat-security warning from occurring.
2016-12-08 Ian Humphrey - Modified outputImagesCSVHeader() to treat TWIST the same as the other angles when determining how many headers to create. Fixes #4557.
2017-04-24 Ian Humphrey - Removed pvlObject(). Fixes #4797.
2017-05-01 Makayla Shepherd - Added imageList() to track and return the images used in the bundle adjustment. These images will be displayed on the project tree under results/bundle/<runtime> and will keep the same structure as the input on the project tree. Fixes #4818.
2017-05-02 J Bonn - Fixed XML serialzation and code cleanup. Fixes #4835.
2017-05-02 Tracie Sucharski - Moved XMLHandler code to bottom of file for consistency; all other classes have the XmlHandler at end of file. Fixes #4822.
2017-05-04 Ian Humphrey & Makayla Shepherd - Modified save() to write the bundle solution info images to the correct directory in the project on disk. Fixes #4804, #4837.
2017-07-11 Makayla Shepherd - Added bundle naming capabilities. Fixes #4855.
2017-07-28 Makayla Shepherd - Fixed the default naming tag. Fixes #5069.
2017-08-09 Ian Humphrey - Added m_adjustedImages with setters and getters so the BundleSolutionInfo can know which images have been adjusted (Updated labels). References #4849.
2017-10-30 Tracie Sucharski - In save method, if the newProjectRoot is different from the current projectRoot, save the cnet and csv files and create the directory structure.
2017-12-20 Tracie Sucharski - Fixed bug which was saving the bundle adjust input control net rather than the output control net. References #4804.
2018-01-03 Tracie Sucharski - Changed serialization to use relative paths. Fixes #5104.
2018-01-17 Tracie Sucharski - Added conditional code to check for null project in xml serialization to allow the unitTest to use xml serialization without having a project. References #5104.
2018-03-21 Ken Edmundson - Added... 1) member variable m_inputControlNetFileName, accessor method, and serialization support. Also added input control net filename to constructor. 2) member variable m_outputControl, associated mutator/accessor, and serialization support. 3) member variable m_txtBundleOutputFilename and associated accessor for bundleout.txt file.
2018-03-23 Ken Edmundson - modified... 1) removed serialization of output control filename 2) serialization of output control to be more robust, ensuring that the control's id is added to project upon reading back in. Also ensures that an open cneteditor widget containing a bundlesolutioninfo's output control is serialized properly.
2018-03-26 Ken Edmundson - modified save method to properly save output control network file.
2018-05-22 Ken Edmundson - changed default and copy constructors and assignment operator to private to prevent developer from calling them. Done because BundleSolutionInfo is derived from QObject (see comment below). Removed copy constructor and assignment operator from cpp file.
2018-06-01 Ken Edmundson - modifications to add lidar data input, output, and serialization.
2018-06-01 Debbie A. Cook - ( Added 2018-02-21 to BundleXYZ branch) Added coordinate types to report and appropriate headings for columns based on the coordinate type. Also added a utility method to return the coordinate name based on coordinate type and coordinate index. References #4649 and #501.
2018-09-18 Debbie A. Cook - Removed radiansToMeters argument. References #4649 and #501
2019-05-14 Tyler Wilson - Replaced call to BundleObservation::formatBundeOutputString(...) in outputText() file to a new function: BundleObservation::bundleOutput which takes as an argument the std::ostream.
2019-06-03 Tyler Wilson - Replaced all calls to BundleObservation::formatBundleOutputString where it outputs a csv file with BundleObservation::bundleOutputCSV. BundleObservation::formatBundleOutputString was removed from ISIS3 because it had become unmaintainable.
2019-06-03 Adam Paquette - Updated the header for the bundleout.txt file for more human readable formatting in the bundleout.txt file.
Definition at line 160 of file BundleSolutionInfo.h.
Isis::BundleSolutionInfo::BundleSolutionInfo | ( | BundleSettingsQsp | inputSettings, |
FileName | controlNetworkFileName, | ||
BundleResults | outputStatistics, | ||
QList< ImageList * > | imgList, | ||
QObject * | parent = 0 ) |
Constructor.
Creates a BundleSolutionInfo.
inputSettings | The settings saved in BundleSolutionInfo |
controlNetworkFileName | The file name and path of the control network |
outputStatistics | The results of the BundleAdjust |
parent | The Qt-relationship parent |
Definition at line 48 of file BundleSolutionInfo.cpp.
References m_adjustedImages, m_id, m_images, m_inputControlNetFileName, m_inputLidarDataFileName, m_name, m_outputControl, m_outputLidarDataSet, m_runTime, m_settings, and m_statisticsResults.
Isis::BundleSolutionInfo::BundleSolutionInfo | ( | BundleSettingsQsp | inputSettings, |
FileName | controlNetworkFileName, | ||
FileName | lidarDataFileName, | ||
BundleResults | outputStatistics, | ||
QList< ImageList * > | imgList, | ||
QObject * | parent = 0 ) |
Constructor.
Creates a BundleSolutionInfo.
inputSettings | The settings saved in BundleSolutionInfo |
controlNetworkFileName | The file name and path of the control network |
outputStatistics | The results of the BundleAdjust |
parent | The Qt-relationship parent |
Definition at line 76 of file BundleSolutionInfo.cpp.
References m_adjustedImages, m_id, m_images, m_inputControlNetFileName, m_inputLidarDataFileName, m_name, m_outputControl, m_outputLidarDataSet, m_runTime, m_settings, and m_statisticsResults.
Isis::BundleSolutionInfo::BundleSolutionInfo | ( | Project * | project, |
QXmlStreamReader * | xmlReader, | ||
QObject * | parent = 0 ) |
Handle an XML start element.
This expects <image> and <displayProperties> elements.
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML. |
qName | ??? |
atts | The attribute containing the keyword value for the given local name. |
Definition at line 107 of file BundleSolutionInfo.cpp.
References m_adjustedImages, m_id, m_images, m_inputControlNetFileName, m_inputLidarDataFileName, m_name, m_outputControl, m_outputLidarDataSet, m_runTime, m_statisticsResults, and m_xmlHandlerCharacters.
Isis::BundleSolutionInfo::~BundleSolutionInfo | ( | ) |
Destructor.
Definition at line 191 of file BundleSolutionInfo.cpp.
References m_id, m_images, m_inputControlNetFileName, m_inputLidarDataFileName, m_outputControl, m_outputLidarDataSet, and m_statisticsResults.
void Isis::BundleSolutionInfo::addAdjustedImages | ( | ImageList * | images | ) |
Adds a list of images that were adjusted (their labels were updated).
ImageList | *images The list of images to add that had their labels updated. |
Definition at line 268 of file BundleSolutionInfo.cpp.
References m_adjustedImages.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
Returns the list of images that were adjusted after a bundle.
This can potentially be an empty QList if no image labels were updated.
Definition at line 324 of file BundleSolutionInfo.cpp.
References m_adjustedImages.
Referenced by Isis::ProjectItem::ProjectItem().
BundleResults Isis::BundleSolutionInfo::bundleResults | ( | ) |
Returns the bundle results.
IException::Unknown | "Results for this bundle is NULL." |
Definition at line 461 of file BundleSolutionInfo.cpp.
References m_statisticsResults, and Isis::IException::Unknown.
Referenced by Isis::JigsawRunWidget::notifyThreadFinished(), Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), and Isis::ProjectItem::ProjectItem().
BundleSettingsQsp Isis::BundleSolutionInfo::bundleSettings | ( | ) |
Returns bundle settings.
Definition at line 449 of file BundleSolutionInfo.cpp.
References m_settings.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), and Isis::ProjectItem::ProjectItem().
Control * Isis::BundleSolutionInfo::control | ( | ) | const |
Returns bundle output Control object.
Definition at line 439 of file BundleSolutionInfo.cpp.
References m_outputControl.
Referenced by Isis::ProjectItem::ProjectItem().
QString Isis::BundleSolutionInfo::id | ( | ) | const |
Get a unique, identifying string associated with this BundleSolutionInfo object.
Definition at line 334 of file BundleSolutionInfo.cpp.
References m_id.
Returns the images used in the bundle.
Definition at line 478 of file BundleSolutionInfo.cpp.
References m_images.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
QString Isis::BundleSolutionInfo::inputControlNetFileName | ( | ) | const |
Returns the name of the input control network.
Definition at line 376 of file BundleSolutionInfo.cpp.
References Isis::FileName::expanded(), and m_inputControlNetFileName.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
QString Isis::BundleSolutionInfo::inputLidarDataFileName | ( | ) | const |
Returns name of input lidar data file (if any).
Definition at line 400 of file BundleSolutionInfo.cpp.
References Isis::FileName::expanded(), and m_inputLidarDataFileName.
QString Isis::BundleSolutionInfo::name | ( | ) | const |
Returns the name of the bundle.
The name defaults to the id, unless the name has been set using setName()
Definition at line 499 of file BundleSolutionInfo.cpp.
References m_name.
Referenced by Isis::ProjectItemModel::onBundleSolutionInfoAdded(), save(), Isis::ProjectItem::setBundleSolutionInfo(), setName(), and setOutputControlName().
QString Isis::BundleSolutionInfo::outputControlName | ( | ) | const |
Returns m_outputControlName.
Definition at line 430 of file BundleSolutionInfo.cpp.
Referenced by outputHeader().
QString Isis::BundleSolutionInfo::outputControlNetFileName | ( | ) | const |
Returns the name of the output control network.
Definition at line 386 of file BundleSolutionInfo.cpp.
References Isis::Control::fileName(), and m_outputControl.
bool Isis::BundleSolutionInfo::outputHeader | ( | std::ofstream & | fpOut | ) |
Output header for bundle results file.
fpOut | The output stream that the header will be sent to. |
IException::Io | "Failed to output residual percentiles for bundleout" |
IException::Io | "Failed to output residual box plot for bundleout" |
Definition at line 591 of file BundleSolutionInfo.cpp.
References Isis::SurfacePoint::coordinateTypeToString(), Isis::iTime::CurrentLocalTime(), Isis::BundleResults::degreesOfFreedom(), Isis::BundleResults::elapsedTime(), Isis::BundleResults::elapsedTimeErrorProp(), Isis::FileName::expanded(), Isis::IException::Io, Isis::BundleResults::iterations(), Isis::SurfacePoint::Latitudinal, m_inputControlNetFileName, m_inputLidarDataFileName, m_settings, m_statisticsResults, Isis::StatCumProbDistDynCalc::max(), Isis::BundleResults::maximumLikelihoodModelQuantile(), Isis::BundleResults::maximumLikelihoodModelWFunc(), Isis::StatCumProbDistDynCalc::min(), Isis::MaximumLikelihoodWFunctions::modelToString(), Isis::Null, Isis::BundleResults::numberConstrainedImageParameters(), Isis::BundleResults::numberConstrainedPointParameters(), Isis::BundleResults::numberConstrainedTargetParameters(), Isis::BundleResults::numberLidarRangeConstraintEquations(), Isis::BundleResults::numberObservations(), Isis::BundleResults::numberRejectedObservations(), Isis::BundleResults::numberUnknownParameters(), Isis::BundleResults::observations(), outputControlName(), Isis::BundleResults::outputControlNet(), Isis::BundleResults::outputLidarData(), Isis::IException::Programmer, Isis::SurfacePoint::Rectangular, Isis::BundleResults::residualsCumulativeProbabilityDistribution(), Isis::BundleResults::sigma0(), Isis::toString(), Isis::MaximumLikelihoodWFunctions::tweakingConstant(), Isis::StatCumProbDistDynCalc::value(), and Isis::MaximumLikelihoodWFunctions::weightedResidualCutoff().
Referenced by outputText().
bool Isis::BundleSolutionInfo::outputImagesCSV | ( | ) |
Outputs the bundleout_images.csv file which contains Jigsaw data about the images within each observation.
Definition at line 1254 of file BundleSolutionInfo.cpp.
References Isis::BundleResults::converged(), m_settings, m_statisticsResults, Isis::BundleResults::observations(), outputImagesCSVHeader(), Isis::BundleResults::rmsImageLineResiduals(), Isis::BundleResults::rmsImageResiduals(), Isis::BundleResults::rmsImageSampleResiduals(), and Isis::toString().
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
bool Isis::BundleSolutionInfo::outputImagesCSVHeader | ( | std::ofstream & | fpOut, |
BundleObservationQsp | observation ) |
Outputs the header for the bundleout_images.csv file.
fpOut | The output file stream. |
observation | An observation for the instrument that this header is for. |
Definition at line 515 of file BundleSolutionInfo.cpp.
Referenced by outputImagesCSV().
bool Isis::BundleSolutionInfo::outputLidarCSV | ( | ) |
Outputs lidar data to a csv file.
Definition at line 1704 of file BundleSolutionInfo.cpp.
References Isis::BundleResults::bundleLidarControlPoints(), m_settings, and m_statisticsResults.
bool Isis::BundleSolutionInfo::outputPointsCSV | ( | ) |
Outputs point data to a csv file.
Definition at line 1591 of file BundleSolutionInfo.cpp.
References Isis::BundleResults::bundleControlPoints(), Isis::ControlPoint::Constrained, Isis::ControlPoint::Fixed, Isis::ControlPoint::Free, m_settings, and m_statisticsResults.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
bool Isis::BundleSolutionInfo::outputResiduals | ( | ) |
Outputs image coordinate residuals to a csv file.
Definition at line 1762 of file BundleSolutionInfo.cpp.
References Isis::BundleResults::bundleControlPoints(), Isis::BundleResults::bundleLidarControlPoints(), m_settings, and m_statisticsResults.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
bool Isis::BundleSolutionInfo::outputText | ( | ) |
Outputs a text file with the results of the BundleAdjust.
Definition at line 1370 of file BundleSolutionInfo.cpp.
References Isis::BundleResults::bundleControlPoints(), Isis::BundleResults::bundleLidarControlPoints(), Isis::BundleResults::converged(), Isis::SurfacePoint::Latitudinal, m_settings, m_statisticsResults, Isis::BundleResults::maxSigmaCoord1Distance(), Isis::BundleResults::maxSigmaCoord1PointId(), Isis::BundleResults::maxSigmaCoord2Distance(), Isis::BundleResults::maxSigmaCoord2PointId(), Isis::BundleResults::maxSigmaCoord3Distance(), Isis::BundleResults::maxSigmaCoord3PointId(), Isis::Distance::meters(), Isis::BundleResults::minSigmaCoord1Distance(), Isis::BundleResults::minSigmaCoord1PointId(), Isis::BundleResults::minSigmaCoord2Distance(), Isis::BundleResults::minSigmaCoord2PointId(), Isis::BundleResults::minSigmaCoord3Distance(), Isis::BundleResults::minSigmaCoord3PointId(), Isis::BundleResults::observations(), outputHeader(), Isis::BundleResults::setCorrMatImgsAndParams(), Isis::BundleResults::sigmaCoord1StatisticsRms(), Isis::BundleResults::sigmaCoord2StatisticsRms(), Isis::BundleResults::sigmaCoord3StatisticsRms(), and surfacePointCoordName().
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
void Isis::BundleSolutionInfo::readBundleSolutionInfo | ( | QXmlStreamReader * | xmlReader | ) |
Definition at line 130 of file BundleSolutionInfo.cpp.
QString Isis::BundleSolutionInfo::runTime | ( | ) | const |
Returns the run time.
Definition at line 366 of file BundleSolutionInfo.cpp.
References m_runTime.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked(), save(), Isis::ProjectItem::setBundleSolutionInfo(), and setRunTime().
void Isis::BundleSolutionInfo::save | ( | QXmlStreamWriter & | stream, |
const Project * | project, | ||
FileName | newProjectRoot ) const |
Saves the BundleSolutionInfo to the project.
Output format:
<image id="..." fileName="..."> ... </image>
(fileName attribute is just the base name)
stream | The stream to which the BundleSolutionInfo will be saved |
project | The project to which this BundleSolutionInfo will be saved |
newProjectRoot | The location of the project root directory. |
Definition at line 1912 of file BundleSolutionInfo.cpp.
References Isis::Project::bundleSolutionInfoRoot(), Isis::Project::bundleSolutionInfoRoot(), Isis::FileName::expanded(), Isis::Control::fileName(), Isis::IException::Io, m_adjustedImages, m_id, m_inputControlNetFileName, m_name, m_outputControl, m_settings, m_statisticsResults, Isis::FileName::name(), name(), Isis::Project::newProjectRoot(), Isis::FileName::path(), Isis::Project::projectRoot(), runTime(), Isis::BundleResults::save(), Isis::Control::save(), and Isis::FileName::toString().
QString Isis::BundleSolutionInfo::savedBundleOutputFilename | ( | ) |
Returns bundleout text filename.
Definition at line 228 of file BundleSolutionInfo.cpp.
Referenced by Isis::ProjectItemModel::onBundleSolutionInfoAdded().
QString Isis::BundleSolutionInfo::savedImagesFilename | ( | ) |
Returns filename of output bundle images csv file.
Definition at line 238 of file BundleSolutionInfo.cpp.
Referenced by Isis::ProjectItemModel::onBundleSolutionInfoAdded().
QString Isis::BundleSolutionInfo::savedPointsFilename | ( | ) |
Returns filename of output bundle points csv file.
Definition at line 248 of file BundleSolutionInfo.cpp.
Referenced by Isis::ProjectItemModel::onBundleSolutionInfoAdded().
QString Isis::BundleSolutionInfo::savedResidualsFilename | ( | ) |
Returns filename of output bundle residuals csv file.
Definition at line 258 of file BundleSolutionInfo.cpp.
Referenced by Isis::ProjectItemModel::onBundleSolutionInfoAdded().
void Isis::BundleSolutionInfo::setName | ( | QString | name | ) |
Sets the name of the bundle.
name | QString of the new name |
Definition at line 488 of file BundleSolutionInfo.cpp.
References m_name, and name().
Referenced by Isis::ProjectItemModel::setData().
void Isis::BundleSolutionInfo::setOutputControl | ( | Control * | outputControl | ) |
Returns the name of the output control network.
Definition at line 410 of file BundleSolutionInfo.cpp.
References m_outputControl.
Referenced by Isis::JigsawRunWidget::on_JigsawAcceptButton_clicked().
void Isis::BundleSolutionInfo::setOutputControlName | ( | QString | name | ) |
Sets m_outputControlName.
name | QString of the new value |
Definition at line 420 of file BundleSolutionInfo.cpp.
References name().
void Isis::BundleSolutionInfo::setOutputStatistics | ( | BundleResults | statisticsResults | ) |
Sets the stat results.
statisticsResults | The new BundleResults |
Definition at line 278 of file BundleSolutionInfo.cpp.
References m_statisticsResults.
void Isis::BundleSolutionInfo::setRunTime | ( | QString | runTime | ) |
Sets the run time, and the name if a name is not already set.
runTime | The run time. |
Definition at line 344 of file BundleSolutionInfo.cpp.
References m_name, m_runTime, and runTime().
Referenced by Isis::JigsawRunWidget::bundleFinished(), and Isis::BundleAdjust::bundleSolveInformation().
QString Isis::BundleSolutionInfo::surfacePointCoordName | ( | SurfacePoint::CoordinateType | type, |
SurfacePoint::CoordIndex | coordIdx ) const |
Determine the control point coordinate name.
type | The control point coordinate type (see SurfacePoint.h) |
coordIdx | The coordinate index (see SurfacePoint.h) |
Definition at line 2042 of file BundleSolutionInfo.cpp.
References Isis::SurfacePoint::Latitudinal, m_settings, Isis::IException::Programmer, Isis::SurfacePoint::Rectangular, and Isis::toString().
Referenced by outputText().
|
slot |
TODO: change description below to something more like english.
Change the on-disk file name for the control network used to be where the control network ought to be in the given project.
This method is modelled after the updateFileName() methods in Image and Control. Those methods close something (cubes for Image and a control net for control) but there is not a close method in BundleSolutionInfo.
project | The project that this BundleSolutionInfo is stored in |
Definition at line 297 of file BundleSolutionInfo.cpp.
References Isis::Project::cnetRoot(), Isis::FileName::expanded(), Isis::Control::fileName(), m_inputControlNetFileName, and m_outputControl.
Adjusted image list.
Definition at line 239 of file BundleSolutionInfo.h.
Referenced by addAdjustedImages(), adjustedImages(), BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), and save().
|
private |
Definition at line 244 of file BundleSolutionInfo.h.
|
private |
Definition at line 245 of file BundleSolutionInfo.h.
|
private |
Definition at line 246 of file BundleSolutionInfo.h.
|
private |
A unique ID for this BundleSolutionInfo object (useful for others to reference this object when saving to disk).
Definition at line 228 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), id(), save(), and ~BundleSolutionInfo().
Input image list.
Definition at line 238 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), imageList(), and ~BundleSolutionInfo().
|
private |
Input control network file name.
Definition at line 231 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), inputControlNetFileName(), outputHeader(), save(), updateFileName(), and ~BundleSolutionInfo().
|
private |
Input lidar data file name.
Definition at line 234 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), inputLidarDataFileName(), outputHeader(), and ~BundleSolutionInfo().
|
private |
Name of the bundle. Defaults to the id.
Definition at line 229 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), name(), save(), setName(), and setRunTime().
|
private |
Output control.
Definition at line 232 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), control(), outputControlNetFileName(), save(), setOutputControl(), updateFileName(), and ~BundleSolutionInfo().
|
private |
Definition at line 233 of file BundleSolutionInfo.h.
|
private |
QList of adjusted lidar points.
Definition at line 235 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), and ~BundleSolutionInfo().
|
private |
Run time of the bundle adjustment.
Definition at line 230 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), runTime(), and setRunTime().
|
private |
Bundle settings.
Definition at line 236 of file BundleSolutionInfo.h.
Referenced by bundleSettings(), BundleSolutionInfo(), BundleSolutionInfo(), outputHeader(), outputImagesCSV(), outputLidarCSV(), outputPointsCSV(), outputResiduals(), outputText(), save(), and surfacePointCoordName().
|
private |
Bundle statistical results.
Definition at line 237 of file BundleSolutionInfo.h.
Referenced by bundleResults(), BundleSolutionInfo(), BundleSolutionInfo(), BundleSolutionInfo(), outputHeader(), outputImagesCSV(), outputLidarCSV(), outputPointsCSV(), outputResiduals(), outputText(), save(), setOutputStatistics(), and ~BundleSolutionInfo().
|
private |
Definition at line 243 of file BundleSolutionInfo.h.
|
private |
List of characters that have been handled.
Definition at line 250 of file BundleSolutionInfo.h.
Referenced by BundleSolutionInfo().
|
private |
Definition at line 249 of file BundleSolutionInfo.h.