4 * Created on: Sep 26, 2011
8 #ifndef IMAGEUNDOREDO_H_
9 #define IMAGEUNDOREDO_H_
11 #include "managerUR.h"
12 #include <vtkExtractVOI.h>
13 #include <vtkSmartPointer.h>
15 class ImageUndoRedo: public ManagerUR {
19 IDequeType* m_ImagesDeque;
20 ImageType* m_OriginalImage;
21 ImageType* m_CurrentImage;
25 virtual ~ImageUndoRedo();
28 virtual void SetImage(vtkImageData *image);
29 virtual void SetUndoImage(const RegionSType& region);
30 virtual void SetRedoImage(const RegionSType& region);
31 void SetOriginalImage(ImageType* img);
32 void SetCurrentImage(ImageType* img);
34 virtual void DrawUR(ImageInfoUR* imageInfo);
38 #endif /* IMAGEUNDOREDO_H_ */