]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageUndoRedo.h
DFCH: ManualPaint + ImageUndoRedo. undo 90% (with memory management but it doesn...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / imageUndoRedo.h
index 78ff99b2e2497ec3f7d00d268ecaee68f10c4ff9..c06caa7c1369ac941b51b0ec5b67d79dd4ef81ca 100755 (executable)
@@ -19,7 +19,7 @@ public:
        virtual void SetImage(VTKImageDataPointerType image);
        virtual void SetUndoImage(ImageMManagerType* imMManager);
        virtual void SetRedoImage(const ImageMManagerType* imMManager);
-       void SetOriginalImage(VTKImageDataPointerType img);
+       void UpdateUndoImage();
        void SetCurrentImage(VTKImageDataPointerType img);
        VTKImageDataPointerType GetImageRegion(const RegionSType& region,
                        VTKImageDataPointerType img);
@@ -29,7 +29,7 @@ protected:
 protected:
 
        IDequeType* m_ImagesDeque;
-       VTKImageDataPointerType m_OriginalImage;
+       VTKImageDataPointerType m_UndoImage;
        VTKImageDataPointerType m_CurrentImage;
 
 };