]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageUndoRedo.h
7866f8e717aec5d391cda533e89c3d333d94b06f
[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
13 class ImageUndoRedo: public ManagerUR {
14 public:
15         ImageUndoRedo();
16         virtual ~ImageUndoRedo();
17         virtual void Undo();
18         virtual void Redo();
19         virtual void SetImage(VTKImageDataPointerType image);
20         virtual void SetURImages(ImageMManagerType* imMManager);
21         void UpdateUndoImage();
22         void SetCurrentImage(VTKImageDataPointerType img);
23         VTKImageDataPointerType GetImageRegion(const RegionSType& region,
24                         VTKImageDataPointerType img);
25 protected:
26         virtual void DrawUR(ImageInfoUR* imageInfo, const bool& undo);
27
28 protected:
29
30         IDequeType* m_ImagesDeque;
31         VTKImageDataPointerType m_UndoImage;
32         VTKImageDataPointerType m_CurrentImage;
33
34 };
35
36 #endif /* IMAGEUNDOREDO_H_ */