1#ifndef BundleSolutionInfo_h
2#define BundleSolutionInfo_h
23class QXmlStreamWriter;
24class QXmlStreamReader;
178 FileName controlNetworkFileName,
183 FileName controlNetworkFileName,
184 FileName lidarDataFileName,
189 QXmlStreamReader *xmlReader,
219 QString
name()
const;
230 void save(QXmlStreamWriter &stream,
const Project *project, FileName newProjectRoot)
const;
245 FileName *m_inputControlNetFileName;
247 QString m_outputControlName;
248 FileName *m_inputLidarDataFileName;
257 QString m_txtBundleOutputFilename;
258 QString m_csvSavedImagesFilename;
259 QString m_csvSavedPointsFilename;
260 QString m_csvSavedResidualsFilename;
264 QString m_xmlHandlerCharacters;
269 QString attributeName, QString attributeValue);
Q_DECLARE_METATYPE(Isis::BundleSolutionInfo *)
A container class for statistical results from a BundleAdjust solution.
Definition BundleResults.h:90
Container class for BundleAdjustment results.
Definition BundleSolutionInfo.h:174
bool outputResiduals()
Outputs image coordinate residuals to a csv file.
Definition BundleSolutionInfo.cpp:1848
bool outputImagesCSV()
Outputs the bundleout_images.csv file which contains Jigsaw data about the images within each observa...
Definition BundleSolutionInfo.cpp:1260
QString inputControlNetFileName() const
Returns the name of the input control network.
Definition BundleSolutionInfo.cpp:377
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Saves the BundleSolutionInfo to the project.
Definition BundleSolutionInfo.cpp:1998
QString inputLidarDataFileName() const
Returns name of input lidar data file (if any).
Definition BundleSolutionInfo.cpp:401
void addAdjustedImages(ImageList *images)
Adds a list of images that were adjusted (their labels were updated).
Definition BundleSolutionInfo.cpp:269
QString savedPointsFilename()
Returns filename of output bundle points csv file.
Definition BundleSolutionInfo.cpp:249
BundleSettingsQsp bundleSettings()
Returns bundle settings.
Definition BundleSolutionInfo.cpp:450
void setName(QString name)
Sets the name of the bundle.
Definition BundleSolutionInfo.cpp:489
void setOutputControl(Control *outputControl)
Returns the name of the output control network.
Definition BundleSolutionInfo.cpp:411
BundleSolutionInfo(BundleSettingsQsp inputSettings, FileName controlNetworkFileName, BundleResults outputStatistics, QList< ImageList * > imgList, QObject *parent=0)
Constructor.
Definition BundleSolutionInfo.cpp:49
QList< ImageList * > adjustedImages() const
Returns the list of images that were adjusted after a bundle.
Definition BundleSolutionInfo.cpp:325
QString surfacePointCoordName(SurfacePoint::CoordinateType type, SurfacePoint::CoordIndex coordInx) const
Determine the control point coordinate name.
Definition BundleSolutionInfo.cpp:2128
QString savedResidualsFilename()
Returns filename of output bundle residuals csv file.
Definition BundleSolutionInfo.cpp:259
void setOutputControlName(QString name)
Sets m_outputControlName.
Definition BundleSolutionInfo.cpp:421
BundleResults bundleResults()
Returns the bundle results.
Definition BundleSolutionInfo.cpp:462
QString id() const
Get a unique, identifying string associated with this BundleSolutionInfo object.
Definition BundleSolutionInfo.cpp:335
void setRunTime(QString runTime)
Sets the run time, and the name if a name is not already set.
Definition BundleSolutionInfo.cpp:345
bool outputPointsCSV()
Outputs point data to a csv file.
Definition BundleSolutionInfo.cpp:1599
QString outputControlName() const
Returns m_outputControlName.
Definition BundleSolutionInfo.cpp:431
void updateFileName(Project *)
TODO: change description below to something more like english.
Definition BundleSolutionInfo.cpp:298
QString outputControlNetFileName() const
Returns the name of the output control network.
Definition BundleSolutionInfo.cpp:387
~BundleSolutionInfo()
Destructor.
Definition BundleSolutionInfo.cpp:192
QString runTime() const
Returns the run time.
Definition BundleSolutionInfo.cpp:367
bool outputHeader(std::ofstream &fpOut)
Output header for bundle results file.
Definition BundleSolutionInfo.cpp:592
QString name() const
Returns the name of the bundle.
Definition BundleSolutionInfo.cpp:500
BundleSolutionInfo()=default
QString savedBundleOutputFilename()
Returns bundleout text filename.
Definition BundleSolutionInfo.cpp:229
bool outputText()
Outputs a text file with the results of the BundleAdjust.
Definition BundleSolutionInfo.cpp:1376
QString savedImagesFilename()
Returns filename of output bundle images csv file.
Definition BundleSolutionInfo.cpp:239
QList< ImageList * > imageList()
Returns the images used in the bundle.
Definition BundleSolutionInfo.cpp:479
void setOutputStatistics(BundleResults statisticsResults)
Sets the stat results.
Definition BundleSolutionInfo.cpp:279
void readBundleSolutionInfo(QXmlStreamReader *xmlReader)
Definition BundleSolutionInfo.cpp:131
bool outputImagesCSVHeader(std::ofstream &fpOut, BundleObservationQsp observations)
Outputs the header for the bundleout_images.csv file.
Definition BundleSolutionInfo.cpp:516
Control * control() const
Returns bundle output Control object.
Definition BundleSolutionInfo.cpp:440
bool outputLidarCSV()
Outputs lidar data to a csv file.
Definition BundleSolutionInfo.cpp:1790
This represents an ISIS control net in a project-based GUI interface.
Definition Control.h:65
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:52
LidarData class.
Definition LidarData.h:49
The main project for ipce.
Definition Project.h:287
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
Definition SurfacePoint.h:139
CoordIndex
Definition SurfacePoint.h:149
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QSharedPointer< BundleSettings > BundleSettingsQsp
Definition for a BundleSettingsQsp, a shared pointer to a BundleSettings object.
Definition BundleSettings.h:356
QString getStringAttribute(int locationId, QString locationName, QString attributeName)
QSharedPointer< BundleObservation > BundleObservationQsp
Typdef for BundleObservation QSharedPointer.
Definition BundleObservation.h:114
void setStringAttribute(int locationId, QString locationName, QString attributeName, QString attributeValue)