]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/managerUR.h
DFCH: Changes in CMakeList (CreaImageIO dependences removed)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / managerUR.h
1 /*
2  * managerUR.h
3  *
4  *  Created on: Sep 26, 2011
5  *      Author: caceres
6  */
7
8 #ifndef MANAGERUR_H_
9 #define MANAGERUR_H_
10
11 #include <iostream>
12 #include <string>
13 #include <vtkImageData.h>
14
15 #include "image3DDequeUR.h"
16
17 typedef Image3DDequeUR IDequeType;
18 typedef RegionStructUR RegionSType;
19 typedef vtkImageData ImageType;
20
21 class ManagerUR {
22 public:
23         ManagerUR();
24         virtual ~ManagerUR();
25         virtual void SetImage(vtkImageData *image);
26         virtual void Undo();
27         virtual void Redo();
28         virtual void SetUndoImage(const RegionSType& region);
29         virtual void SetRedoImage(const RegionSType& region);
30 private:
31         virtual void DrawUR(ImageInfoUR imageInfo);
32
33 };
34
35 #endif /* MANAGERUR_H_ */