1 #ifndef BundleSolutionInfo_h 2 #define BundleSolutionInfo_h 32 #include "XmlStackedHandler.h" 36 class QXmlStreamWriter;
208 QString
name()
const;
218 void save(QXmlStreamWriter &stream,
const Project *project,
FileName newProjectRoot)
const;
221 SurfacePoint::CoordIndex coordInx)
const;
243 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
244 const QString &qName,
const QXmlAttributes &atts);
246 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
247 const QString &qName);
249 SurfacePoint::CoordIndex coordIdx)
const;
268 QString m_outputControlName;
276 QString m_txtBundleOutputFilename;
277 QString m_csvSavedImagesFilename;
278 QString m_csvSavedPointsFilename;
279 QString m_csvSavedResidualsFilename;
283 void setStringAttribute(
int locationId, QString locationName,
284 QString attributeName, QString attributeValue);
285 QString getStringAttribute(
int locationId, QString locationName, QString attributeName);
290 #endif // BundleSolutionInfo_h This represents an ISIS control net in a project-based GUI interface.
Control * control() const
Returns bundle output Control object.
void setRunTime(QString runTime)
Sets the run time, and the name if a name is not already set.
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Handle an XML start element.
void updateFileName(Project *)
TODO: change description below to something more like english.
Internalizes a list of images and allows for operations on the entire list.
bool outputText()
Outputs a text file with the results of the BundleAdjust.
The main project for ipce.
QString outputControlName() const
Returns m_outputControlName.
QList< ImageList * > imageList()
Returns the images used in the bundle.
File name manipulation and expansion.
XmlHandler(BundleSolutionInfo *bundleSolutionInfo, Project *project)
Create an XML Handler (reader) that can populate the BundleSolutionInfo class data.
Container class for BundleAdjustment results.
BundleSettingsQsp m_settings
Bundle settings.
BundleSettingsQsp bundleSettings()
Returns bundle settings.
QString savedResidualsFilename()
Returns filename of output bundle residuals csv file.
bool outputHeader(std::ofstream &fpOut)
Output header for bundle results file.
QString m_name
Name of the bundle. Defaults to the id.
QList< ImageList * > * m_images
Input image list.
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
QString name() const
Returns the name of the bundle.
QString surfacePointCoordName(SurfacePoint::CoordinateType type, SurfacePoint::CoordIndex coordInx) const
Determine the control point coordinate name.
QString savedPointsFilename()
Returns filename of output bundle points csv file.
bool outputImagesCSV()
Outputs the bundleout_images.csv file which contains Jigsaw data about the images within each observa...
QString id() const
Get a unique, identifying string associated with this BundleSolutionInfo object.
QList< ImageList * > adjustedImages() const
Returns the list of images that were adjusted after a bundle.
void setOutputStatistics(BundleResults statisticsResults)
Sets the stat results.
bool outputImagesCSVHeader(std::ofstream &fpOut)
Outputs the header for the bundleout_images.csv file.
BundleResults * m_statisticsResults
Bundle statistical results.
BundleSolutionInfo * m_xmlHandlerBundleSolutionInfo
The bundleSolutionInfo object.
QString runTime() const
Returns the run time.
QString outputControlNetFileName() const
Returns the name of the output control network.
void setName(QString name)
Sets the name of the bundle.
QUuid * m_id
A unique ID for this BundleSolutionInfo object (useful for others to reference this object when savin...
void setOutputControlName(QString name)
Sets m_outputControlName.
This class is used to read an images.xml file into an image list.
void addAdjustedImages(ImageList *images)
Adds a list of images that were adjusted (their labels were updated).
XML Handler that parses XMLs in a stack-oriented way.
void setOutputControl(Control *outputControl)
Returns the name of the output control network.
FileName * m_inputControlNetFileName
Input control network file name.
QString m_xmlHandlerCharacters
List of characters that have been handled.
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
Control * m_outputControl
Output control.
virtual bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
Handle an XML end element.
bool outputResiduals()
Outputs image coordinate residuals to a csv file.
~BundleSolutionInfo()
Destructor.
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Saves the BundleSolutionInfo to the project.
QString m_runTime
Run time of the bundle adjustment.
QList< ImageList * > * m_adjustedImages
Adjusted image list.
BundleResults bundleResults()
Returns the bundle results.
virtual bool characters(const QString &ch)
Adds characters to m_xmlHandlerCharacters.
Namespace for ISIS/Bullet specific routines.
A container class for statistical results from a BundleAdjust solution.
QString savedBundleOutputFilename()
Returns bundleout text filename.
QString inputControlNetFileName() const
Returns the name of the input control network.
Contains Pvl Groups and Pvl Objects.
QString savedImagesFilename()
Returns filename of output bundle images csv file.
Manage a stack of content handlers for reading XML files.
bool outputPointsCSV()
Outputs point data to a csv file.