]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbtkStaticLecture.cxx
Clean code
[bbtk.git] / packages / vtk / src / bbtkStaticLecture.cxx
index 583edb3e4e6c583ac6656373b57870a43966e9a3..9068a58cd0c14a3576a47b9fda56d6606879c153 100755 (executable)
 
 int bbtkStaticLecture::GetTypeFormat( std::string formatStr , vtkImageData* image )
 {
-    printf("EED bbtkStaticLecture::GetTypeFormat Start \n");
        int outputformat = VTK_UNSIGNED_CHAR;
        if (formatStr=="SAME")
        {
-        printf("EED bbtkStaticLecture::GetTypeFormat 1  image=%p\n",image);
                if (image!=NULL) outputformat = image->GetScalarType();
-        printf("EED bbtkStaticLecture::GetTypeFormat 2 \n");
        }
        else if (formatStr=="VTK_BIT")                          outputformat = VTK_BIT;                         // 1
        else if (formatStr=="VTK_CHAR")                         outputformat = VTK_CHAR;                        // 2
@@ -59,8 +56,6 @@ int bbtkStaticLecture::GetTypeFormat( std::string formatStr , vtkImageData* imag
        else if (formatStr=="MET_FLOAT")                        outputformat = VTK_FLOAT;               // 10
        else if (formatStr=="MET_DOUBLE")                       outputformat = VTK_DOUBLE;              // 11  
 
-    printf("EED bbtkStaticLecture::GetTypeFormat outputformat=%d End\n", outputformat);
-
     return outputformat;
 }