From 5d784a0e59017c7e1117c1162241629e7dea872c Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 16 May 2011 08:02:03 +0000 Subject: [PATCH] no message --- .../wxContourMainFrame.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx index 1ff0de0..6fbe98b 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx @@ -2982,7 +2982,7 @@ void wxContourMainFrame::getMaskValue(vtkImageData ** mask,vtkImageData ** value void wxContourMainFrame::SaveImageResult(std::string directory,std::string namefile, vtkImageData* mask,vtkImageData* value) { - std::string temp = directory + "/" + namefile + "-Value.mhd"; + std::string temp = directory + "/" + namefile + "-image-Value.mhd"; wxString filename = crea::std2wx(temp); // LG @@ -3004,7 +3004,7 @@ void wxContourMainFrame::SaveImageResult(std::string directory,std::string namef // Image Mask // filename.Printf("%s\\%s-Mask.mhd",directory.c_str(),namefile.c_str(),z); - temp = directory + "/" + namefile + "-Mask.mhd"; + temp = directory + "/" + namefile + "-image-Mask.mhd"; // LG 14/01/09 : using crea filename = crea::std2wx(temp); @@ -3019,7 +3019,7 @@ void wxContourMainFrame::SaveImageResult(std::string directory,std::string namef writerMaskImage->SetInput( mask ); writerMaskImage->SetFileName( (const char *)filename.mb_str() ); writerMaskImage->SetFileDimensionality( 3 ); - writerValueImage->SetCompression(false); + writerMaskImage->SetCompression(false); writerMaskImage->Write( ); interfMainPanel::getInstance()->setStringInfoPanel( _T("") ); -- 2.47.1