+ StringType filename = gPath + this->m_ImageName;
+ StringType undoImagePath = filename + "_Undo.mhd";
+ StringType redoImagePath = filename + "_Redo.mhd";
+ this->SaveImageAsMHD(undoImagePath, this->m_UndoImage);
+ this->SaveImageAsMHD(redoImagePath, this->m_RedoImage);
+}
+
+void ImageInfoUR::RemoveImagesFromDisk(const StringType& gPath) {
+ StringType filename = gPath + this->m_ImageName;
+ StringType undoImagePathMHD = filename + "_Undo.mhd";
+ StringType redoImagePathMHD = filename + "_Redo.mhd";
+ StringType undoImagePathRAW = filename + "_Undo.raw";
+ StringType redoImagePathRAW = filename + "_Redo.raw";
+ //Unlink the files!!
+}
+
+void ImageInfoUR::SaveImageAsMHD(const StringType& filename,
+ VTKImageDataPointerType image) {