]> Creatis software - creaVtk.git/commitdiff
#2711 creaVtk Feature New Normal - new Box ReadMHDPlane
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 23:39:45 +0000 (00:39 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Wed, 2 Mar 2016 23:39:45 +0000 (00:39 +0100)
bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.cxx

index 11276096f7fadf9b99ecd1cab3ac366e67c3c672..53b6691816034e4d0be558c9a6e3a5ba3251a905 100644 (file)
@@ -32,8 +32,6 @@ void ReadMHDPlane::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
 
-printf("EED ReadMHDPlane::Process Start\n");
-
        std::string inputfilename;
 
        if (bbGetInputDirectionPlane()=="XY")
@@ -78,15 +76,12 @@ printf("EED ReadMHDPlane::Process Start\n");
     FILE *ffIn = fopen(inputfilename.c_str(),"r");
        if (ffIn!=NULL)
        {
-printf("EED ReadMHDPlane::Process 1\n");
            FILE *ffOut = fopen(newFileName.c_str(),"w");
-printf("EED ReadMHDPlane::Process 2 %p  %s\n",ffOut, newFileName.c_str() );
 
        while(!feof(ffIn))
        {
            strcpy(mystring,"\n");
                        fgets(mystring,250,ffIn);
-printf("EED ReadMHDPlane::Process MHD:%s\n", mystring);
                if (strncmp("NDims",mystring,5)==0) {strcpy(mystring,"NDims = 2\n");}
                if (strncmp("DimSize",mystring,6)==0) 
                        {
@@ -108,9 +103,7 @@ printf("EED ReadMHDPlane::Process MHD:%s\n", mystring);
                        {
                                fprintf(ffOut,"HeaderSize = %ld\n\n", newHeaderSize );
                        } // if
-printf("EED ReadMHDPlane::Process 3\n");
                fprintf(ffOut,mystring); 
-printf("EED ReadMHDPlane::Process 4\n");
        } // while
                fclose(ffIn);
                fclose(ffOut);
@@ -153,7 +146,6 @@ printf("EED ReadMHDPlane::Process 4\n");
        } // if ok
 
        bbSetOutputOut( newImage );
-printf("EED ReadMHDPlane::Process End\n");
 
 }
 //=====