]> Creatis software - creaVtk.git/commitdiff
#3483 PlaneWidget_Base Box
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Mon, 16 May 2022 14:20:30 +0000 (16:20 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Mon, 16 May 2022 14:20:30 +0000 (16:20 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx

index 25b743ad10d711c9cd05b211213b0adeb25990db..229c17cd20b9ba948780d6d2071a480f537f141d 100644 (file)
@@ -29,28 +29,16 @@ void PlaneWidget_Base::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
 
-    printf("EED PlaneWidget_Base::Process \n");
-    
     if ((bbGetInputType()==1)  &&  (bbGetInputIn()!=NULL) )
     {
         std::vector<double> origin = bbGetInputIn()->GetCenter();
         std::vector<double> normal = bbGetInputIn()->GetNormal();
-
-        printf("EED PlaneWidget_Base::Process normal  %f %f %f \n", normal[0],normal[1],normal[2] );
-        printf("EED PlaneWidget_Base::Process origin  %f %f %f \n", origin[0],origin[1],origin[2] );
-
         origin[0] = origin[0] + normal[0]*bbGetInputParam();
         origin[1] = origin[1] + normal[1]*bbGetInputParam();
         origin[2] = origin[2] + normal[2]*bbGetInputParam();
-
-        printf("EED PlaneWidget_Base::Process origin2  %f %f %f \n", origin[0],origin[1],origin[2] );
-
         bbGetInputIn()->SetOrigin(origin);
         bbGetInputIn()->Process();
-
     }
-    printf("EED PlaneWidget_Base::Process 2 \n");
-
 }
 
 //=====