]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPointPickerNearest.cxx
#3493 MeshManager
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPointPickerNearest.cxx
index 99a8d6c755ed3e7a8d1b96532a5fe142e629e408..12ea924ef258844f9a0b5fafc040904e1d87ab32 100644 (file)
@@ -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<double> lstNormal;
     std::vector<double> 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 ; i<size ; i++)
         {
             points->GetPoint(i,p);
@@ -88,12 +85,12 @@ void PointPickerNearest::Process()
         bbSetOutputPointId( iBack );
         bbSetOutputNormal( lstNormal );
         std::vector<double> 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)