From: Eduardo DAVILA Date: Wed, 20 Dec 2017 08:01:00 +0000 (+0100) Subject: #3161 creaContours Bug New Normal - Interpolate Image - Color and Threshold Layer... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d04890ea37126df81e4dc9368c0f4e927c592a39;p=creaContours.git #3161 creaContours Bug New Normal - Interpolate Image - Color and Threshold Layer - Save Results good formt - Viewer Results Frame --- diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx index 14359a9..2077380 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx @@ -3062,10 +3062,18 @@ std::string wxContourMainFrame::GetStringTypeImage( vtkImageData* image) result="FLOAT"; } else if ( image->GetScalarType()==VTK_DOUBLE ){ result="DOUBLE"; + } else if ( image->GetScalarType()==VTK_INT ){ + result="INT"; + } else if ( image->GetScalarType()==VTK_UNSIGNED_INT ){ + result="UINT"; } else if ( image->GetScalarType()==VTK_SHORT ){ result="SHORT"; } else if ( image->GetScalarType()==VTK_UNSIGNED_SHORT ){ result="USHORT"; + } else if ( image->GetScalarType()==VTK_LONG ){ + result="LONG"; + } else if ( image->GetScalarType()==VTK_UNSIGNED_LONG ){ + result="ULONG"; } return result; }