X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkPointPickerNearest.cxx;h=12ea924ef258844f9a0b5fafc040904e1d87ab32;hb=9075226c98f81d6936ec2869d429a7155be2b627;hp=99a8d6c755ed3e7a8d1b96532a5fe142e629e408;hpb=52fe1977e96677f9cf7c54cb55eb5b822a7b57fd;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkPointPickerNearest.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkPointPickerNearest.cxx index 99a8d6c..12ea924 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkPointPickerNearest.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkPointPickerNearest.cxx @@ -31,8 +31,6 @@ void PointPickerNearest::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') - printf ("EED PointPickerNearest::Process Start\n"); - std::vector lstNormal; std::vector refPoint = bbGetInputPoint(); @@ -46,7 +44,6 @@ void PointPickerNearest::Process() vtkPoints *points = bbGetInputMesh()->GetPoints(); long size = points->GetNumberOfPoints(); double border = bbGetInputBorder() * bbGetInputBorder(); - printf ("EED PointPickerNearest::Process 2\n"); for ( i=0 ; iGetPoint(i,p); @@ -88,12 +85,12 @@ void PointPickerNearest::Process() bbSetOutputPointId( iBack ); bbSetOutputNormal( lstNormal ); std::vector lstPointOut; - if (iBack>=0){ + if (iBack>=0) + { points->GetPoint(iBack,p); lstPointOut.push_back(p[0]); lstPointOut.push_back(p[1]); lstPointOut.push_back(p[2]); - printf ("EED PointPickerNearest::Process 7 pointOut=%f %f %f\n", lstPointOut[0],lstPointOut[1],lstPointOut[2]); }// if iBack bbSetOutputPointOut( lstPointOut ); bbSignalOutputModification(); @@ -106,7 +103,6 @@ void PointPickerNearest::Process() bbSetOutputPointOut( bbGetInputPoint() ); bbSignalOutputModification(); } - printf ("EED PointPickerNearest::Process END\n"); } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)