]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/image3DDequeUR.h
DFCH: Manualpaint + imageUndoRedo Big changes, new class for the management of the...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / image3DDequeUR.h
1 /*
2  * image3DDequeUR.h
3  *
4  *  Created on: Sep 26, 2011
5  *      Author: caceres
6  */
7
8 #ifndef IMAGE3DDEQUEUR_H_
9 #define IMAGE3DDEQUEUR_H_
10
11 #include "imageDequeUR.h"
12 #include <ctime>
13
14 class Image3DDequeUR: public ImageDequeUR {
15 public:
16         Image3DDequeUR();
17         virtual ~Image3DDequeUR();
18         void SetGlobalPath(const StringType& globalPath);
19         StringType GetGlobalPath();
20         StringType GetImageName(const int & pos, const bool& undo);
21         virtual void AddImageToUndoContainer(VTKImageDataPointerType img,
22                         ImageMManagerType* imMManager);
23         virtual void AddImageToRedoContainer(VTKImageDataPointerType img,
24                         ImageMManagerType* imMManager);
25         virtual void CleanUndoContainerFromIndex(const int& index);
26         virtual void CleanRedoContainerFromIndex(const int& index);
27         virtual void CleanContainers();
28         virtual ImageInfoUR* Undo();
29         virtual ImageInfoUR* Redo();
30 protected:
31         ImageInfoDeque m_ImgUndoDeque;
32         ImageInfoDeque m_ImgRedoDeque;
33         int m_CurrentUndoPos;
34         int m_CurrentRedoPos;
35         StringType m_GlobalPath;
36         StringType m_IDImages;
37 };
38
39 #endif /* IMAGE3DDEQUEUR_H_ */