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);
*/
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_ */