1#ifndef ExportImagesWorkOrder_H
2#define ExportImagesWorkOrder_H
61 class ProjectImageExportFunctor :
public std::unary_function<Image * const &, void *> {
63 ProjectImageExportFunctor(QString destination);
64 ProjectImageExportFunctor(
const ProjectImageExportFunctor &other);
65 ~ProjectImageExportFunctor();
67 void *operator()(
Image *
const &imageToExport);
73 ProjectImageExportFunctor &operator=(
const ProjectImageExportFunctor &rhs);
75 QString m_destination;
Write project images to a user-specified location.
Definition: ExportImagesWorkOrder.h:33
void postExecution()
Display any warnings that occurred during the asynchronous computations.
Definition: ExportImagesWorkOrder.cpp:167
bool setupExecution()
Prompts the user for input.
Definition: ExportImagesWorkOrder.cpp:91
ExportImagesWorkOrder(Project *project)
Definition: ExportImagesWorkOrder.cpp:42
virtual ExportImagesWorkOrder * clone() const
Definition: ExportImagesWorkOrder.cpp:63
bool isExecutable(ImageList *images)
Currently, this work order only works with either no data (file menu) or with any number of images.
Definition: ExportImagesWorkOrder.cpp:76
void execute()
Use internalData() and write the images into the output directory.
Definition: ExportImagesWorkOrder.cpp:134
~ExportImagesWorkOrder()
Definition: ExportImagesWorkOrder.cpp:58
Isis exception class.
Definition: IException.h:91
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
The main project for ipce.
Definition: Project.h:289
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Definition: JigsawWorkOrder.h:28
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16