From: Eduardo DAVILA Date: Mon, 16 May 2022 14:20:30 +0000 (+0200) Subject: #3483 PlaneWidget_Base Box X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=219bcc22ff3fcf4bda266470b7c78bb1d8be9925;p=creaVtk.git #3483 PlaneWidget_Base Box --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx index 25b743a..229c17c 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget_Base.cxx @@ -29,28 +29,16 @@ void PlaneWidget_Base::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " < origin = bbGetInputIn()->GetCenter(); std::vector 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"); - } //=====