Isis 3.0 Programmer Reference
| Home |
The main project for cnetsuite. More...
#include <Project.h>
Classes | |
class | XmlHandler |
Public Slots | |
void | open (QString) |
Open the project at the given path. More... | |
Signals | |
void | controlListAdded (ControlList *controls) |
apparently not used? More... | |
void | controlAdded (Control *control) |
Emitted when new Control added to Project receivers: ProjectTreeWidget. More... | |
void | imagesAdded (ImageList *images) |
Emitted when new images are available. More... | |
void | shapesAdded (ShapeList *shapes) |
Emitted when new shape model images are available. More... | |
void | bundleSolutionInfoAdded (BundleSolutionInfo *bundleSolutionInfo) |
Emitted when new BundleSolutionInfo available from jigsaw receivers: ProjectTreeWidget (TODO: should this be the Directory?) More... | |
void | targetsAdded (TargetBodyList *targets) |
Emitted when new TargetBody objects added to project receivers: Directory. More... | |
void | guiCamerasAdded (GuiCameraList *targets) |
Emitted when new GuiCamera objects added to project receivers: Directory. More... | |
void | nameChanged (QString newName) |
Emitted when project name is changed receivers: ProjectTreeWidget. More... | |
void | projectLoaded (Project *) |
Emitted when project loaded receivers: CNetSuiteMainWindow, Directory, HistoryTreeWidget. More... | |
void | projectRelocated (Project *) |
Emitted when project location moved receivers: Control, BundleSolutionInfo, Image, TargetBody. More... | |
void | workOrderStarting (WorkOrder *) |
void | workOrderFinished (WorkOrder *) |
Public Member Functions | |
Project (Directory &directory, QObject *parent=0) | |
Create a new Project. More... | |
~Project () | |
Clean up the project. More... | |
QList< QAction * > | userPreferenceActions () |
Get a list of configuration/settings actions related to reading images into this Project. More... | |
QDir | addBundleSolutionInfoFolder (QString folder) |
Create and return the name of a folder for placing BundleSolutionInfo. More... | |
QDir | addCnetFolder (QString prefix) |
Create and return the name of a folder for placing control networks. More... | |
void | addControl (Control *control) |
Add the given Control's to the current project. More... | |
QDir | addImageFolder (QString prefix) |
Create and return the name of a folder for placing images. More... | |
void | addImages (QStringList imageFiles) |
Read the given cube file names as Images and add them to the project. More... | |
void | addImages (ImageList newImages) |
QDir | addShapeFolder (QString prefix) |
Create and return the name of a folder for placing shape models. More... | |
void | addShapes (QStringList shapeFiles) |
Read the given shape model cube file names as Images and add them to the project. More... | |
void | addShapes (ShapeList newShapes) |
void | addBundleSolutionInfo (BundleSolutionInfo *bundleSolutionInfo) |
Add the given BundleSolutionInfo to the current project. More... | |
void | loadBundleSolutionInfo (BundleSolutionInfo *bundleSolutionInfo) |
Control * | control (QString id) |
Directory * | directory () const |
Returns the directory associated with this Project. More... | |
Image * | image (QString id) |
ImageList * | imageList (QString name) |
Shape * | shape (QString id) |
ShapeList * | shapeList (QString name) |
bool | isTemporaryProject () const |
WorkOrder * | lastNotUndoneWorkOrder () |
const WorkOrder * | lastNotUndoneWorkOrder () const |
QString | name () const |
Get the project's GUI name. More... | |
QMutex * | mutex () |
Return mutex used for Naif calls. More... | |
QString | projectRoot () const |
Get the top-level folder of the project. More... | |
void | setName (QString newName) |
Change the project's name (GUI only, doesn't affect location on disk). More... | |
QUndoStack * | undoStack () |
void | waitForImageReaderFinished () |
void | waitForShapeReaderFinished () |
QList< WorkOrder * > | workOrderHistory () |
Get the entire list of work orders that have executed. More... | |
void | setActiveControl (Control *) |
Set the Active Control (control network) More... | |
Control * | activeControl () |
Return the Active Control (control network) More... | |
void | setActiveImageList (ImageList *) |
Set the Active ImageList. More... | |
ImageList * | activeImageList () |
Returns the active ImageList. More... | |
QString | cnetRoot () const |
Get where control networks ought to be stored inside the project. More... | |
QList< ControlList * > | controls () |
ControlList * | controlList (QString name) |
QString | imageDataRoot () const |
Accessor for the root directory of the image data. More... | |
QList< ImageList * > | images () |
QString | shapeDataRoot () const |
Accessor for the root directory of the shape model data. More... | |
QList< ShapeList * > | shapes () |
QString | targetBodyRoot () const |
Accessor for the root directory of the target body data. More... | |
TargetBodyList | targetBodies () |
QString | resultsRoot () const |
Accessor for the root directory of the results data. More... | |
QString | bundleSolutionInfoRoot () const |
Accessor for the root directory of the results data. More... | |
QList< BundleSolutionInfo * > | bundleSolutionInfo () |
void | deleteAllProjectFiles () |
Delete all of the files, that this project stores, from disk. More... | |
void | relocateProjectRoot (QString newRoot) |
This is called when the project is moved. More... | |
BundleSettings * | bundleSettings () |
QProgressBar * | progress () |
void | removeImages (ImageList &imageList) |
void | save () |
void | save (FileName newPath, bool verifyPathDoesntExist=true) |
void | addToProject (WorkOrder *) |
Run the work order and stores it in the project. More... | |
template<typename Data > | |
void | warn (QString text, Data relevantData) |
void | warn (QString text) |
Static Public Member Functions | |
static QStringList | images (QStringList) |
Verify that the input fileNames are image files. More... | |
static QStringList | shapes (QStringList) |
static QString | cnetRoot (QString projectRoot) |
Appends the root directory name 'cnets' to the project. More... | |
static QString | imageDataRoot (QString projectRoot) |
Appends the root directory name 'images' to the project . More... | |
static QString | shapeDataRoot (QString projectRoot) |
Appends the root directory name 'shapes' to the project . More... | |
static QString | targetBodyRoot (QString projectRoot) |
Appends the root directory name 'targets' to the project . More... | |
static QString | resultsRoot (QString projectRoot) |
Appends the root directory name 'results' to the project. More... | |
static QString | bundleSolutionInfoRoot (QString projectRoot) |
Appends the root directory name 'bundle' to the project results directory. More... | |
Private Slots | |
void | controlClosed (QObject *control) |
A control is being deleted from the project. More... | |
void | controlListDeleted (QObject *controlList) |
An control list is being deleted from the project. More... | |
void | imagesReady (ImageList) |
void | addTargetsFromImportedImagesToProject (ImageList *imageList) |
void | addCamerasFromImportedImagesToProject (ImageList *imageList) |
void | imageClosed (QObject *image) |
An image is being deleted from the project. More... | |
void | imageListDeleted (QObject *imageList) |
An image list is being deleted from the project. More... | |
void | bundleSolutionInfoClosed (QObject *bundleSolutionInfo) |
A BundleSolutionInfo object is being deleted from the project. More... | |
void | targetBodyClosed (QObject *targetBodyObj) |
A target body is being deleted from the project. More... | |
void | shapesReady (ShapeList shapes) |
void | shapeClosed (QObject *shape) |
A shape model is being deleted from the project. More... | |
void | shapeListDeleted (QObject *shapeList) |
A shape model list is being deleted from the project. More... | |
Private Member Functions | |
Project (const Project &other) | |
Project & | operator= (const Project &rhs) |
void | createFolders () |
This creates the project root, image root, and control net root directories. More... | |
ControlList * | createOrRetrieveControlList (QString name) |
ImageList * | createOrRetrieveImageList (QString name) |
ShapeList * | createOrRetrieveShapeList (QString name) |
QString | nextImageListGroupName () |
void | save (QXmlStreamWriter &stream, FileName newProjectRoot) const |
Converts the project settings into XML. More... | |
void | saveHistory (QXmlStreamWriter &stream) const |
Serialize the work orders into the given XML. More... | |
void | saveWarnings (QXmlStreamWriter &stream) const |
Serialize the warnings into the given XML. More... | |
void | storeWarning (QString text) |
void | storeWarning (QString text, const ImageList &relevantData) |
Private Attributes | |
QDir * | m_projectRoot |
QDir * | m_cnetRoot |
QDir | m_currentCnetFolder |
QPointer< Directory > | m_directory |
QList< ImageList * > * | m_images |
QList< ControlList * > * | m_controls |
QList< ShapeList * > * | m_shapes |
TargetBodyList * | m_targets |
GuiCameraList * | m_guiCameras |
QPointer< Control > | m_activeControl |
QPointer< ImageList > | m_activeImageList |
QList< BundleSolutionInfo * > * | m_bundleSolutionInfo |
BundleSettings * | m_bundleSettings |
QMap< QString, Control * > * | m_idToControlMap |
This variable will probably go away when we add the bundle results object because it will be under: BundleSolutionInfo BundleResults CorrelationMatrix. More... | |
QMap< QString, Image * > * | m_idToImageMap |
QMap< QString, Shape * > * | m_idToShapeMap |
QMap< QString, BundleSolutionInfo * > * | m_idToBundleSolutionInfoMap |
QMap< QString, TargetBody * > * | m_idToTargetBodyMap |
QMap< QString, GuiCamera * > * | m_idToGuiCameraMap |
QString | m_name |
QStringList * | m_warnings |
QList< QPointer< WorkOrder > > * | m_workOrderHistory |
QPointer< ImageReader > | m_imageReader |
bool | m_isTemporaryProject |
int | m_numImagesCurrentlyReading |
QMutex * | m_mutex |
QMutex * | m_imageReadingMutex |
int | m_numShapesCurrentlyReading |
QMutex * | m_shapeMutex |
QPointer< ShapeReader > | m_shapeReader |
QMutex * | m_shapeReadingMutex |
QUndoStack | m_undoStack |
The main project for cnetsuite.
2012-07-27 Kimberly Oyama - Added comments to some of the methods.
2012-09-04 Tracie Sucharski - Renamed addCNets to addCnets, controlNetRoot to cnetRoot, networkLoaded to cnetLoaded. Added new method, addCnetFolder.
2012-09-11 Tracie Sucharski - Added mutex accessor method.
2012-09-12 Tracie Sucharski - Implemented ControlList instead of QList<Control *>, re-ordered some methods to match header order.
2012-09-12 Steven Lambright - Renamed imageList() to createOrRetrieveImageList(), added imageList() and image().
2012-09-17 Steven Lambright - Reduced the time complexity of image() to log(n) from n/2. This method is often called n times.
2012-09-17 Steven Lambright - Added crash detection/cleanup. Prompt is coded but disabled (we'll find a good wording or handle recovery better when we don't expect so many crashes during development).
2012-10-29 Steven Lambright and Stuart Sides - Added isTemporaryProject(). This is useful for the import images to know if it should prompt the user to save their project.
2013-05-14 Jeannie Backer - Used return status of c++ system() in the constructor to verify that the call was successful.
2014-07-14 Kimberly Oyama - Updated to better meet programming standards. Added support for correlation matrix.
2015-02-20 Jeannie Backer - Replaced BundleResults references with BundleSolutionInfo and BundleStatistics references with BundleResults due to class name changes.
2015-09-03 Jeannie Backer - Removed svn merge conflict comment lines. Removed call to save BundleSolutionInfo as an xml file. Added hdf5 preliminary serialization calls. Some ISIS coding standards improvements.
2015-10-14 Jeffrey Covington - Declared Project * as a Qt metatype for use with QVariant.
2016-06-23 Tracie Sucharski - Added a member variable for active control network and active image list, along with accessor methods.
2016-07-06 Tracie Sucharski - Changed the ImageReader to require footprints, because ImageReader class was changed so that footprints are no longer created if not required.
2016-07-06 Tracie Sucharski - Add import shape models to project.
2016-11-09 Tyler Wilson - Added try-catch blocks around reader.parse calls in the open function, so that warnings/errors are output to the warnings tab of the GUI instead of causing the application to exit. Fixes #4488.
Create a new Project.
This creates a project on disk at /tmp/username_appname_pid.
Definition at line 73 of file Project.cpp.
References _FILEINFO_, createFolders(), directory(), imagesAdded(), m_idToControlMap, Isis::IException::Programmer, Isis::toString(), and Isis::Environment::userName().
Isis::Project::~Project | ( | ) |
Clean up the project.
This will bring the Project back to a safe on-disk state.
Definition at line 219 of file Project.cpp.
References deleteAllProjectFiles(), m_idToControlMap, and Isis::WorkOrder::modifiesDiskState().
Control * Isis::Project::activeControl | ( | ) |
Return the Active Control (control network)
Returns the active control (control network) for views which need to operate on the same control, ie. Footprint2dView, CubeDnView, ControlPointEditView.
Definition at line 1182 of file Project.cpp.
Referenced by Isis::CubeDnView::CubeDnView(), Isis::SetActiveControlWorkOrder::execute(), Isis::SetActiveControlWorkOrder::isExecutable(), and Isis::MosaicControlNetTool::openControlNet().
ImageList * Isis::Project::activeImageList | ( | ) |
Returns the active ImageList.
Returns the active ImageList for views which need to operate on the same list of images, ie. Footprint2dView, CubeDnView, ControlPointEditView.
Definition at line 1210 of file Project.cpp.
void Isis::Project::addBundleSolutionInfo | ( | BundleSolutionInfo * | bundleSolutionInfo | ) |
Add the given BundleSolutionInfo to the current project.
This will cause the BundleSolutionInfo to be saved/restored from disk, Project-related GUIs to display the BundleSolutionInfo, and enable access to the BundleSolutionInfo given access to the project.
Definition at line 789 of file Project.cpp.
References addBundleSolutionInfoFolder(), Isis::BundleSolutionInfo::bundleSettings(), bundleSolutionInfoClosed(), Isis::BundleSolutionInfo::createH5File(), projectRelocated(), and Isis::BundleSolutionInfo::runTime().
Referenced by Isis::JigsawDialog::bundleFinished().
QDir Isis::Project::addBundleSolutionInfoFolder | ( | QString | folder | ) |
Create and return the name of a folder for placing BundleSolutionInfo.
TODO: don't know if sentence below is accurate. This can be called from multiple threads, but should only be called by one thread at a time.
Definition at line 594 of file Project.cpp.
References _FILEINFO_, bundleSolutionInfoRoot(), and Isis::IException::Io.
Referenced by addBundleSolutionInfo().
QDir Isis::Project::addCnetFolder | ( | QString | prefix | ) |
Create and return the name of a folder for placing control networks.
This can be called from multiple threads, but should only be called by one thread at a time.
Definition at line 614 of file Project.cpp.
References _FILEINFO_, cnetRoot(), and Isis::IException::Io.
Referenced by Isis::ImportControlNetWorkOrder::syncRedo().
void Isis::Project::addControl | ( | Control * | control | ) |
Add the given Control's to the current project.
This will cause the controls to be saved/restored from disk, Project-related GUIs to display the control, and enable access to the controls given access to the project.
Definition at line 646 of file Project.cpp.
References controlAdded(), controlClosed(), Isis::Control::fileName(), Isis::Control::id(), and projectRelocated().
QDir Isis::Project::addImageFolder | ( | QString | prefix | ) |
Create and return the name of a folder for placing images.
This can be called from multiple threads, but should only be called by one thread at a time.
Definition at line 686 of file Project.cpp.
References _FILEINFO_, imageDataRoot(), and Isis::IException::Io.
Referenced by Isis::ImportImagesWorkOrder::importConfirmedImages().
void Isis::Project::addImages | ( | QStringList | imageFiles | ) |
Read the given cube file names as Images and add them to the project.
Definition at line 714 of file Project.cpp.
Referenced by Isis::ImportImagesWorkOrder::postSyncRedo().
QDir Isis::Project::addShapeFolder | ( | QString | prefix | ) |
Create and return the name of a folder for placing shape models.
This can be called from multiple threads, but should only be called by one thread at a time.
Definition at line 736 of file Project.cpp.
References _FILEINFO_, Isis::IException::Io, and shapeDataRoot().
Referenced by Isis::ImportShapesWorkOrder::importConfirmedShapes().
void Isis::Project::addShapes | ( | QStringList | shapeFiles | ) |
Read the given shape model cube file names as Images and add them to the project.
Definition at line 764 of file Project.cpp.
Referenced by Isis::ImportShapesWorkOrder::postSyncRedo().
void Isis::Project::addToProject | ( | WorkOrder * | workOrder | ) |
Run the work order and stores it in the project.
If WorkOrder::execute() returns true then the work order's redo is called. This takes ownership of workOrder.
The order of events is: 1) WorkOrder::execute() 2) emit workOrderStarting() 3) WorkOrder::redo() [optional - see WorkOrder]
workOrder | The work order to be executed. This work order must not already be in the project. |
Definition at line 1546 of file Project.cpp.
References Isis::WorkOrder::createsCleanState(), Isis::WorkOrder::execute(), Isis::WorkOrder::previous(), Isis::WorkOrder::setNext(), and Isis::WorkOrder::setPrevious().
Referenced by Isis::WorkOrder::addCloneToProject().
|
signal |
Emitted when new BundleSolutionInfo available from jigsaw receivers: ProjectTreeWidget (TODO: should this be the Directory?)
|
privateslot |
A BundleSolutionInfo object is being deleted from the project.
Definition at line 1802 of file Project.cpp.
Referenced by addBundleSolutionInfo().
|
static |
Appends the root directory name 'bundle' to the project results directory.
Definition at line 1360 of file Project.cpp.
QString Isis::Project::bundleSolutionInfoRoot | ( | ) | const |
Accessor for the root directory of the results data.
Definition at line 1370 of file Project.cpp.
Referenced by addBundleSolutionInfoFolder(), createFolders(), and open().
|
static |
Appends the root directory name 'cnets' to the project.
Definition at line 1220 of file Project.cpp.
Referenced by Isis::Control::copyToNewProjectRoot(), Isis::ControlList::deleteFromDisk(), Isis::Control::updateFileName(), and Isis::BundleSolutionInfo::updateFileName().
QString Isis::Project::cnetRoot | ( | ) | const |
Get where control networks ought to be stored inside the project.
This is a full path.
Definition at line 1230 of file Project.cpp.
Referenced by addCnetFolder(), createFolders(), deleteAllProjectFiles(), and Isis::ControlList::save().
|
signal |
Emitted when new Control added to Project receivers: ProjectTreeWidget.
Referenced by addControl().
|
privateslot |
A control is being deleted from the project.
Definition at line 1761 of file Project.cpp.
References m_idToControlMap, and Isis::ControlList::removeAt().
Referenced by addControl().
|
signal |
apparently not used?
Emitted when new ControlList added to Project receivers: ProjectTreeWidget
|
privateslot |
An control list is being deleted from the project.
Definition at line 1780 of file Project.cpp.
|
private |
This creates the project root, image root, and control net root directories.
Definition at line 335 of file Project.cpp.
References _FILEINFO_, bundleSolutionInfoRoot(), cnetRoot(), imageDataRoot(), Isis::IException::Io, resultsRoot(), and shapeDataRoot().
Referenced by Project().
void Isis::Project::deleteAllProjectFiles | ( | ) |
Delete all of the files, that this project stores, from disk.
Definition at line 1378 of file Project.cpp.
References cnetRoot(), Isis::ImageList::deleteFromDisk(), imageDataRoot(), resultsRoot(), and shapeDataRoot().
Referenced by ~Project().
Directory * Isis::Project::directory | ( | ) | const |
Returns the directory associated with this Project.
The directory is not part of the project so a non-const pointer is returned and this is okay.
Definition at line 824 of file Project.cpp.
Referenced by Isis::WorkOrder::directory(), Isis::MatrixViewWorkOrder::execute(), Isis::ImageFileListViewWorkOrder::execute(), Isis::CubeDnViewWorkOrder::execute(), Isis::Footprint2DViewWorkOrder::execute(), Isis::SensorGetInfoWorkOrder::isExecutable(), Isis::TargetGetInfoWorkOrder::isExecutable(), open(), Project(), Isis::CnetEditorViewWorkOrder::syncRedo(), Isis::RemoveImagesWorkOrder::syncRedo(), Isis::MatrixViewWorkOrder::syncRedo(), Isis::ImageFileListViewWorkOrder::syncRedo(), Isis::SensorGetInfoWorkOrder::syncRedo(), Isis::TargetGetInfoWorkOrder::syncRedo(), Isis::CubeDnViewWorkOrder::syncRedo(), Isis::Footprint2DViewWorkOrder::syncRedo(), Isis::CnetEditorViewWorkOrder::syncUndo(), Isis::MatrixViewWorkOrder::syncUndo(), Isis::ImageFileListViewWorkOrder::syncUndo(), and Isis::Footprint2DViewWorkOrder::syncUndo().
|
signal |
|
privateslot |
An image is being deleted from the project.
Definition at line 1730 of file Project.cpp.
References Isis::ImageList::removeAt().
|
static |
Appends the root directory name 'images' to the project .
Definition at line 1260 of file Project.cpp.
Referenced by Isis::ImageList::deleteFromDisk(), and Isis::Image::updateFileName().
QString Isis::Project::imageDataRoot | ( | ) | const |
Accessor for the root directory of the image data.
Definition at line 1270 of file Project.cpp.
Referenced by addImageFolder(), Isis::Image::copyToNewProjectRoot(), createFolders(), deleteAllProjectFiles(), and Isis::ImageList::save().
|
privateslot |
An image list is being deleted from the project.
Definition at line 1750 of file Project.cpp.
|
static |
Verify that the input fileNames are image files.
fileNames | names of files on disk |
Definition at line 561 of file Project.cpp.
Referenced by Isis::ImportImagesWorkOrder::asyncUndo(), Isis::ImportImagesWorkOrder::postSyncUndo(), and Isis::ProjectItem::ProjectItem().
|
signal |
QMutex * Isis::Project::mutex | ( | ) |
Return mutex used for Naif calls.
This method is thread-safe.
Definition at line 1079 of file Project.cpp.
QString Isis::Project::name | ( | ) | const |
Get the project's GUI name.
Definition at line 1050 of file Project.cpp.
Referenced by Isis::RenameProjectWorkOrder::execute(), and Isis::ProjectItem::setProject().
|
signal |
Emitted when project name is changed receivers: ProjectTreeWidget.
Referenced by setName().
|
slot |
Open the project at the given path.
The | path to the project folder |
Definition at line 838 of file Project.cpp.
References _FILEINFO_, bundleSolutionInfoRoot(), directory(), Isis::IException::Io, projectLoaded(), Isis::Directory::showWarning(), and Isis::IException::toString().
Referenced by Isis::OpenProjectWorkOrder::execute(), and Isis::OpenRecentProjectWorkOrder::execute().
|
signal |
Emitted when project loaded receivers: CNetSuiteMainWindow, Directory, HistoryTreeWidget.
Referenced by open().
|
signal |
Emitted when project location moved receivers: Control, BundleSolutionInfo, Image, TargetBody.
Referenced by addBundleSolutionInfo(), addControl(), and relocateProjectRoot().
QString Isis::Project::projectRoot | ( | ) | const |
Get the top-level folder of the project.
This is where the project is opened from/saved to.
Definition at line 1087 of file Project.cpp.
Referenced by Isis::Control::copyToNewProjectRoot(), Isis::Shape::copyToNewProjectRoot(), Isis::Image::copyToNewProjectRoot(), and Isis::Directory::updateRecentProjects().
void Isis::Project::relocateProjectRoot | ( | QString | newProjectRoot | ) |
This is called when the project is moved.
newProjectRoot | The new root directory for the project. |
Definition at line 1413 of file Project.cpp.
References projectRelocated().
|
static |
Appends the root directory name 'results' to the project.
Definition at line 1335 of file Project.cpp.
QString Isis::Project::resultsRoot | ( | ) | const |
Accessor for the root directory of the results data.
Definition at line 1345 of file Project.cpp.
Referenced by createFolders(), and deleteAllProjectFiles().
|
private |
Converts the project settings into XML.
The format of the project settings is:
<project> <controlNets> <controlNet name="..."> </controlNets> </project>
Definition at line 434 of file Project.cpp.
|
private |
Serialize the work orders into the given XML.
The format of the history xml is:
<history> <workOrder> ... </workOrder> <workOrder> ... </workOrder> </history>
Definition at line 518 of file Project.cpp.
References Isis::WorkOrder::save().
|
private |
Serialize the warnings into the given XML.
The format of the warnings xml is:
<warnings> <warning text="..."> <warning text="..."> </warnings>
Definition at line 541 of file Project.cpp.
void Isis::Project::setActiveControl | ( | Control * | control | ) |
Set the Active Control (control network)
Set the active control (control network) for views which need to operate on the same control, ie. Footprint2dView, CubeDnView, ControlPointEditView.
Definition at line 1168 of file Project.cpp.
Referenced by Isis::SetActiveControlWorkOrder::execute().
void Isis::Project::setActiveImageList | ( | ImageList * | imageList | ) |
Set the Active ImageList.
Set the active ImageList for views which need to operate on the same list of images, ie. Footprint2dView, CubeDnView, ControlPointEditView.
Definition at line 1196 of file Project.cpp.
Referenced by Isis::SetActiveImageListWorkOrder::execute().
void Isis::Project::setName | ( | QString | newName | ) |
Change the project's name (GUI only, doesn't affect location on disk).
Definition at line 1095 of file Project.cpp.
References nameChanged().
Referenced by Isis::RenameProjectWorkOrder::syncRedo(), and Isis::RenameProjectWorkOrder::syncUndo().
|
privateslot |
A shape model is being deleted from the project.
Definition at line 1884 of file Project.cpp.
References Isis::ShapeList::removeAt().
|
static |
Appends the root directory name 'shapes' to the project .
Definition at line 1280 of file Project.cpp.
Referenced by Isis::ShapeList::deleteFromDisk(), and Isis::Shape::updateFileName().
QString Isis::Project::shapeDataRoot | ( | ) | const |
Accessor for the root directory of the shape model data.
Definition at line 1290 of file Project.cpp.
Referenced by addShapeFolder(), Isis::Shape::copyToNewProjectRoot(), createFolders(), deleteAllProjectFiles(), and Isis::ShapeList::save().
|
privateslot |
A shape model list is being deleted from the project.
Definition at line 1791 of file Project.cpp.
|
signal |
|
privateslot |
A target body is being deleted from the project.
TODO: should prevent deleting a target body if there are currently images in the project with this target?
Definition at line 1828 of file Project.cpp.
|
static |
Appends the root directory name 'targets' to the project .
Definition at line 1310 of file Project.cpp.
QString Isis::Project::targetBodyRoot | ( | ) | const |
Accessor for the root directory of the target body data.
Definition at line 1320 of file Project.cpp.
|
signal |
Emitted when new TargetBody objects added to project receivers: Directory.
Get a list of configuration/settings actions related to reading images into this Project.
These are things like default opacity, default filled, etc.
Definition at line 583 of file Project.cpp.
References Isis::ImageDisplayProperties::FootprintViewProperties.
Get the entire list of work orders that have executed.
Definition at line 1149 of file Project.cpp.
Referenced by Isis::HistoryTreeWidget::showHistory().
This variable will probably go away when we add the bundle results object because it will be under: BundleSolutionInfo BundleResults CorrelationMatrix.
Definition at line 349 of file Project.h.
Referenced by controlClosed(), Project(), and ~Project().