File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
Go to the documentation of this file. 1 #ifndef ImportImagesWorkOrder_H
2 #define ImportImagesWorkOrder_H
25 #include "WorkOrder.h"
32 #include "IException.h"
140 public std::unary_function<const FileName &, Cube *> {
143 QDir destinationFolder,
bool copyDnData);
173 #endif // ImportImagesWorkOrder_H
~OriginalFileToProjectCubeFunctor()
Destructor.
OriginalFileToProjectCubeFunctor(QThread *guiThread, QDir destinationFolder, bool copyDnData)
Creates the internal functor.
Provide Undo/redo abilities, serialization, and history for an operation.
virtual ImportImagesWorkOrder * clone() const
Creates a clone of this work order.
OriginalFileToProjectCubeFunctor & operator=(const OriginalFileToProjectCubeFunctor &rhs)
Not implemented.
~ImportImagesWorkOrder()
Destructor.
File name manipulation and expansion.
QDir m_destinationFolder
Directory where to import the images to.
This copies the given cube(s) into the project.
void importConfirmedImages(QStringList confirmedImages, bool copyDnData)
Imports the images.
virtual bool setupExecution()
Sets up this work order before being executed.
virtual void postUndoExecution()
Cleans up memory (images) after the undo execution occurs.
The main project for ipce.
Internalizes a list of images and allows for operations on the entire list.
QMutex m_errorsLock
Mutex lock for appending errors and incrementing error count.
Cube * operator()(const FileName &original)
Overloads the callable operator to invoke this functor.
IException errors() const
Indicates if any errors occurred during the import.
bool m_copyDnData
Indicates whether the cube data will be copied to the project.
Project * project() const
Returns the Project this WorkOrder is attached to.
QString m_warning
String of any errors/warnings that occurred during import.
ImageList * m_list
List of images that was succesfully imported into project.
IO Handler for Isis Cubes.
QSharedPointer< IException > m_errors
Stores any errors that occur during import.
virtual bool isExecutable(ProjectItem *item)
This method returns true if the user clicked on a project tree node with the text "Images".
QThread * m_guiThread
Pointer to the GUI thread. Not used?
QSharedPointer< int > m_numErrors
Number of errors that occur during import.
ImportImagesWorkOrder(Project *project)
Creates an asynchronous WorkOrder for importing images to the project.
virtual void postExecution()
Associates the imported images to the project.
This is free and unencumbered software released into the public domain.
virtual void undoExecution()
Undoes the work order's execute.
ImageList * m_newImages
List of images that are being imported in this work order.
Represents an item of a ProjectItemModel in Qt's model-view framework.
virtual void execute()
Executes the work order.