]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/imageUndoRedo.h
#3418 creaMaracasVisu Feature New Normal - ManualPaint_model with openmp
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / imageUndoRedo.h
index defc487efb09d80c711a191fd48caa12d3bde0ee..38414d7b01aaa88f3b2e29b6c8ed4c422fd5e385 100755 (executable)
@@ -96,8 +96,12 @@ public:
         VTKImageDataPointerType img);
         * @brief This method extract from an image the region of interest (In the undo/redo returns the volume of the modified or t-1 image).
         */
-       VTKImageDataPointerType GetImageRegion(const RegionSType& region,
-                       VTKImageDataPointerType img);
+       VTKImageDataPointerType GetImageRegion(const RegionSType& region,VTKImageDataPointerType img);
+
+       int GetRestorBaseInitialPointX();
+       int GetRestorBaseInitialPointY();
+       int GetRestorBaseInitialPointZ();
+
 protected:
        // ----------------------------------------------------------------------------------
        /*! @fn virtual void DrawUR(ImageInfoUR* imageInfo, const bool& undo);
@@ -105,12 +109,17 @@ protected:
         */
        virtual void DrawUR(ImageInfoUR* imageInfo, const bool& undo);
        // ----------------------------------------------------------------------------------
+
 protected:
 
        IDequeType                                      *m_ImagesDeque;         //!<The manager of the ImagesDeque.
        VTKImageDataPointerType         m_UndoImage;            //!< This is the image for undo t(m_CurrentImage - 1).
        VTKImageDataPointerType         m_CurrentImage;         //!< This is the current image (The modification image).
 
+       int                                             m_RestorBaseInitialPointX;
+       int                                             m_RestorBaseInitialPointY;
+       int                                             m_RestorBaseInitialPointZ;
+
 };
 
 #endif /* IMAGEUNDOREDO_H_ */