4 * Created on: Sep 22, 2011
14 //EED-11/11/2011 comment for windows compilation// #include <unistd.h>
15 #include <vtkImageData.h>
16 #include <vtkSmartPointer.h>
17 #include "imageInfoUR.h"
18 #include "imageModificationManager.h"
22 typedef std::deque<ImageInfoUR*> ImageInfoDeque;
23 typedef vtkSmartPointer<vtkImageData> VTKImageDataPointerType;
24 typedef std::string StringType;
25 typedef ImageMManager ImageMManagerType;
28 virtual ~ImageDequeUR();
29 virtual void AddImageToUndoContainer(VTKImageDataPointerType img,
30 ImageMManager* imMManager);
31 virtual void AddImageToRedoContainer(VTKImageDataPointerType img,
32 ImageMManager* imMManager);
33 virtual void CleanUndoContainerFromIndex(const int& index);
34 virtual void CleanRedoContainer();
35 virtual void CleanContainers();
36 virtual void ManageMemory();
37 virtual ImageInfoUR* Undo();
38 virtual ImageInfoUR* Redo();
41 #endif /* IMAGEDEQUE_H_ */