From d04890ea37126df81e4dc9368c0f4e927c592a39 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 20 Dec 2017 09:01:00 +0100 Subject: [PATCH] #3161 creaContours Bug New Normal - Interpolate Image - Color and Threshold Layer - Save Results good formt - Viewer Results Frame --- .../wxContourMainFrame.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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; } -- 2.47.1