1 #ifndef BundleSolutionInfo_h
2 #define BundleSolutionInfo_h
37 class QXmlStreamWriter;
131 QString settingsName =
"InputSettings",
132 QString statisticsName =
"StatisticsResults");
135 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
138 void save(QXmlStreamWriter &stream,
const Project *project)
const;
140 QDataStream &
write(QDataStream &stream)
const;
141 QDataStream &
read(QDataStream &stream);
170 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
171 const QString &qName,
const QXmlAttributes &atts);
172 virtual bool characters(
const QString &ch);
173 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
174 const QString &qName);
177 Q_DISABLE_COPY(XmlHandler);
181 QString m_xmlHandlerCharacters;
205 QString attributeName, QString attributeValue);
206 QString
getStringAttribute(
int locationId, QString locationName, QString attributeName);
211 #endif // BundleSolutionInfo_h
void setRunTime(QString runTime)
Sets the run time.
Definition: BundleSolutionInfo.cpp:461
void updateFileName(Project *)
Change the on-disk file name for the control network used to be where the control network ought to be...
Definition: BundleSolutionInfo.cpp:302
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:44
bool outputText()
Outputs a text file with the results of the BundleAdjust.
Definition: BundleSolutionInfo.cpp:1287
QSharedPointer< BundleSettings > BundleSettingsQsp
Definition for a BundleSettingsQsp, a shared pointer to a BundleSettings object.
Definition: BundleSettings.h:404
The main project for cnetsuite.
Definition: Project.h:105
File name manipulation and expansion.
Definition: FileName.h:111
Container class for BundleAdjustment results.
Definition: BundleSolutionInfo.h:98
BundleSettingsQsp bundleSettings()
Returns the bundle settings.
Definition: BundleSolutionInfo.cpp:500
void readH5File(FileName outputFileName) const
bool outputHeader(std::ofstream &fpOut)
Output header for bundle results file.
Definition: BundleSolutionInfo.cpp:691
QString id() const
Get a unique, identifying string associated with this BundleSolutionInfo object.
Definition: BundleSolutionInfo.cpp:451
void writeH5File(FileName outputFileName) const
QString getStringAttribute(int locationId, QString locationName, QString attributeName)
QString runTime() const
Returns the run time.
Definition: BundleSolutionInfo.cpp:480
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
BundleSolutionInfo & operator=(const BundleSolutionInfo &src)
Creates an equal operator for BundleSolutionInfos.
Definition: BundleSolutionInfo.cpp:146
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
bool outputImagesCSV()
Outputs the bundleout_images.csv file which contains Jigsaw data about the images within each observa...
Definition: BundleSolutionInfo.cpp:1199
void setStringAttribute(int locationId, QString locationName, QString attributeName, QString attributeValue)
void setOutputStatistics(BundleResults statisticsResults)
Sets the stat results.
Definition: BundleSolutionInfo.cpp:179
bool outputImagesCSVHeader(std::ofstream &fpOut)
Outputs the header for the bundleout_images.csv file.
Definition: BundleSolutionInfo.cpp:538
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Saves the BundleSolutionInfo to the project.
Definition: BundleSolutionInfo.cpp:226
void createH5File(FileName outputFileName) const
Creates a new file using H5F_ACC_EXCL.
Definition: BundleSolutionInfo.cpp:1900
PvlObject pvlObject(QString resultsName="BundleSolutionInfo", QString settingsName="InputSettings", QString statisticsName="StatisticsResults")
Writes the results from BundleAdjust to a Pvl.
Definition: BundleSolutionInfo.cpp:194
std::istream & operator>>(std::istream &is, CSVReader &csv)
Input read operator for input stream sources.
Definition: CSVReader.cpp:463
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:47
QDataStream & read(QDataStream &stream)
Reads the data from the stream.
Definition: BundleSolutionInfo.cpp:1688
QString controlNetworkFileName() const
Returns the name of the control network.
Definition: BundleSolutionInfo.cpp:490
bool outputResiduals()
Outputs image coordinate residuals to a csv file.
Definition: BundleSolutionInfo.cpp:1580
~BundleSolutionInfo()
Destructor.
Definition: BundleSolutionInfo.cpp:124
BundleResults bundleResults()
Returns the bundle results.
Definition: BundleSolutionInfo.cpp:512
Definition: BoxcarCachingAlgorithm.h:29
A container class for statistical results from a BundleAdjust solution.
Definition: BundleResults.h:90
void openH5File(FileName outputFileName)
Reads the settings and results from another BundleSolutionInfo.
Definition: BundleSolutionInfo.cpp:1764
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition: Hillshade.cpp:308
QDataStream & write(QDataStream &stream) const
Writes the data to the stream.
Definition: BundleSolutionInfo.cpp:1669
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
his enables stack-based XML parsing of XML files.
Definition: XmlStackedHandlerReader.h:26
bool outputPointsCSV()
Outputs point data to a csv file.
Definition: BundleSolutionInfo.cpp:1466