]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/managerUR.h
DFCH: Manualpaint + imageUndoRedo Big changes, new class for the management of the...
[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 #include <vtkSmartPointer.h>
15 #include <vtkExtractVOI.h>
16
17 #include "image3DDequeUR.h"
18 #include "imageModificationManager.h"
19 #include "regionStructUR.h"
20
21 class ManagerUR {
22 public:
23         typedef Image3DDequeUR IDequeType;
24         typedef RegionStructUR RegionSType;
25         typedef ImageMManager ImageMManagerType;
26         typedef vtkSmartPointer<vtkImageData> VTKImageDataPointerType;
27         typedef vtkSmartPointer<vtkExtractVOI> VTKExtractVOIPointerType;
28         typedef std::string StringType;
29 public:
30         ManagerUR();
31         virtual ~ManagerUR();
32         virtual void SetImage(vtkImageData *image);
33         virtual void Undo();
34         virtual void Redo();
35         virtual void SetUndoImage(ImageMManagerType* imMManager);
36         virtual void SetRedoImage(ImageMManagerType* imMManager);
37 protected:
38         virtual void DrawUR(ImageInfoUR imageInfo);
39
40 };
41
42 #endif /* MANAGERUR_H_ */