]> Creatis software - creaContours.git/commitdiff
#3161 creaContours Bug New Normal - Interpolate Image - Color and Threshold Layer... master
authorEduardo DAVILA <davila@localhost.localdomain>
Wed, 20 Dec 2017 08:01:00 +0000 (09:01 +0100)
committerEduardo DAVILA <davila@localhost.localdomain>
Wed, 20 Dec 2017 08:01:00 +0000 (09:01 +0100)
lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx

index 14359a9f05fffc5b8367cb7aa35c809b6bc1ccbc..2077380295561cc75bb6d6ec772a039e30ee2a51 100644 (file)
@@ -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;
 }