13#include <QStandardItem>
15#include "BundleSettings.h"
18#include "TargetBody.h"
196 bool isTemplate()
const;
233 void setTextColor(Qt::GlobalColor color);
A container class for statistical results from a BundleAdjust solution.
Container class for BundleAdjustment results.
This represents an ISIS control net in a project-based GUI interface.
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
This is a container for the correlation matrix that comes from a bundle adjust.
A container for a filename to be represented as a ProjectItem on the project tree.
List of GuiCameras saved as QSharedPointers.
This represents a cube in a project-based GUI interface.
Internalizes a list of images and allows for operations on the entire list.
The main project for ipce.
Represents an item of a ProjectItemModel in Qt's model-view framework.
TargetBodyQsp targetBody() const
Returns the TargetBodyQsp stored in the data of the item.
void setControls()
Sets the text, icon, and data corresponding to a list of ControlList.
void setTemplateList(TemplateList *templateList)
Sets the text, icon, and data corresponding to an TemplateList.
void appendRow(ProjectItem *item)
Appends an item to the children of this item.
void setResults()
Sets the text, icon, and data corresponding to a list of Results.
void setShapes()
Sets the text, icon, and data corresponding to a list of ShapeList.
void setProjectItem(ProjectItem *item)
Sets the text, icon, and data to those of another item.
bool isShape() const
Returns true if an Shape is stored in the data of the item.
void setShape(Shape *shape)
Sets the text, icon, and data corresponding to an Shape.
BundleSolutionInfo * bundleSolutionInfo() const
Returns the BundleSolutionInfo stored in the data of the item.
BundleSettingsQsp bundleSettings() const
Returns the BundleSettings stored in the data of the item.
ProjectItem * findItemData(const QVariant &value, int role=Qt::UserRole+1)
Finds and returns the first item in the model that contains the data in the role.
Template * getTemplate() const
Returns the Template stored in the data of the item.
bool isProject() const
Returns true if a Project is stored in the data of the item.
void setCorrelationMatrix(CorrelationMatrix correlationMatrix)
Sets the text, icon, and data corresponding to a CorrelationMatrix.
void setSpacecraft()
Sets the text, icon, and data corresponding to SpaceCraft.
void setBundleResults(BundleResults bundleResults)
Sets the text, icon, and data corresponding to BundleResults.
FileItemQsp fileItem() const
Returns the FileItemQsp stored in the data of the item.
ShapeList * shapeList() const
Returns the ShapeList stored in the data of the item.
bool isControl() const
Returns true if a Control is stored in the data of the item.
bool isControlList() const
Returns true if a ControlList is stored in the data of the item.
BundleResults bundleResults() const
Returns the BundleResults stored in the data of the item.
void setGuiCameraList()
Sets the text, icon, and data corresponding to a GuiCameraQsp.
bool isShapeList() const
Returns true if an ShapeList is stored in the data of the item.
CorrelationMatrix correlationMatrix() const
Returns the CorrelationMatrix stored the item.
void setControl(Control *control)
Sets the text, icon, and data corresponding to a Control.
Shape * shape() const
Returns the Shape stored in the data of the item.
void setChild(int row, ProjectItem *item)
Sets the child at the given row to an item.
void setTargetBody(TargetBodyQsp targetBody)
Sets the text, icon, and data corresponding to a TargetBodyQsp.
void setControlList(ControlList *controlList)
Sets the text, icon, and data corresponding to a ControlList.
bool isImageList() const
Returns true if an ImageList is stored in the data of the item.
void setProject(Project *project)
Sets the text, icon, and data corresponding to a Project.
void setTemplate(Template *newTemplate)
Sets the text, icon, and data corresponding to a Template.
void setBundleSettings(BundleSettingsQsp bundleSettings)
Sets the text, icon, and data corresponding to BundleSettings.
bool isBundleSettings() const
Returns true if BundleSettings are stored in the data of the item.
ProjectItem * parent() const
Returns the parent item of this item.
ImageList * imageList() const
Returns the ImageList stored in the data of the item.
bool isBundleResults() const
Returns true if BundleResults are stored in the data of the item.
bool isFileItem() const
Returns true if a FileItemQsp is stored in the data of the item.
Control * control() const
Returns the Control stored in the data of the item.
Project * project() const
Returns the Project stored in the data of the item.
void setGuiCamera(GuiCameraQsp guiCamera)
Sets the text, icon, and data corresponding to a GuiCameraQsp.
void setImage(Image *image)
Sets the text, icon, and data corresponding to an Image.
ProjectItem()
Constructs an item without children, a parent, or a model.
void setImages()
Sets the text, icon, and data corresponding to a list of ImageList.
void setTemplates()
Sets the text, icon, and data corresponding to a list of TemplateList.
Image * image() const
Returns the Image stored in the data of the item.
~ProjectItem()
Destructs a ProjectItem.
ControlList * controlList() const
Returns the ControlList stored in the data of the item.
void insertRow(int row, ProjectItem *item)
Inserts an item to the children of this item at the row.
void setImageList(ImageList *imageList)
Sets the text, icon, and data corresponding to an ImageList.
bool isBundleSolutionInfo() const
Returns true if a BundleSolutionInfo is stored in the data of the item.
bool isImage() const
Returns true if an Image is stored in the data of the item.
void setShapeList(ShapeList *shapeList)
Sets the text, icon, and data corresponding to an ShapeList.
GuiCameraQsp guiCamera() const
Returns the GuiCameraQsp stored in the data of the item.
void setBundleSolutionInfo(BundleSolutionInfo *bundleSolutionInfo)
Sets the text, icon, and data corresponding to a BundleSolutionInfo.
void setTargetBodyList()
Sets the text, icon, and data corresponding to a TargetBodyList.
ProjectItem * child(int row) const
Returns the child item at a given row.
bool isGuiCamera() const
Returns true if a GuiCameraQsp is stored in the data of the item.
bool isCorrelationMatrix() const
Returns true if a CorrelationMatrix is stored in the data of the item.
ProjectItemModel * model() const
Returns the ProjectItemModel associated with this item.
TemplateList * templateList() const
Returns the TemplateList stored in the data of the item.
ProjectItem * takeChild(int row)
Removes the child item at the given row and returns the removed item.
bool isTargetBody() const
Returns true if a TargetBodyQsp is stored in the data of the item.
Provides access to data stored in a Project through Qt's model-view framework.
This represents a shape in a project-based GUI interface.
Internalizes a list of shapes and allows for operations on the entire list.
List for holding TargetBodies.
This is free and unencumbered software released into the public domain.