]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualPaint/managerUR.h
DFCH: Manual Paint (Undo/Redo Tool) :) :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualPaint / 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 undo();
26         virtual void redo();
27         virtual void setUndoImage(const RegionSType& region);
28         virtual void setRedoImage(const RegionSType& region);
29 private:
30         virtual void drawUR(ImageInfoUR imageInfo);
31
32 };
33
34 #endif /* MANAGERUR_H_ */