]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageUndoRedo.h
DFCH: Changes in CMakeList (CreaImageIO dependences removed)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / imageUndoRedo.h
1 /*
2  * imageUndoRedo.h
3  *
4  *  Created on: Sep 26, 2011
5  *      Author: caceres
6  */
7
8 #ifndef IMAGEUNDOREDO_H_
9 #define IMAGEUNDOREDO_H_
10
11 #include "managerUR.h"
12 #include <vtkExtractVOI.h>
13 #include <vtkSmartPointer.h>
14
15 class ImageUndoRedo: public ManagerUR {
16
17 private:
18
19         IDequeType* m_ImagesDeque;
20         ImageType* m_OriginalImage;
21         ImageType* m_CurrentImage;
22
23 public:
24         ImageUndoRedo();
25         virtual ~ImageUndoRedo();
26         virtual void Undo();
27         virtual void Redo();
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);
33 private:
34         virtual void DrawUR(ImageInfoUR imageInfo);
35
36 };
37
38 #endif /* IMAGEUNDOREDO_H_ */