X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkPolyDataNormals.cxx;h=f9676e5a4b9a3d49f83203df7eb0f0478448ce0e;hb=464deff51f697881cd76b3cfb934859cd7c31df7;hp=92cf8834597d385f009340c36c9211d871a53d80;hpb=7be08bdfdb30264f4aa4a82b842cbce9d3cd5fb1;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataNormals.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataNormals.cxx index 92cf883..f9676e5 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataNormals.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataNormals.cxx @@ -21,7 +21,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(PolyDataNormals,bbtk::AtomicBlackBox); //===== void PolyDataNormals::Process() { - printf("EED PolyDataNormals::Process Start\n"); // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -98,15 +97,12 @@ void PolyDataNormals::Process() double meanNormalresult[3]; double ang; double crossResult[3]; - printf("EED PolyDataNormals::Process 1\n"); meanN[0] = meanNormal[0]; meanN[1] = meanNormal[1]; meanN[2] = meanNormal[2]; - printf("EED PolyDataNormals::Process 2\n"); int i , size=dataarray->GetNumberOfTuples(); for (i=0; iGetTuple3( i ); ang = vtkMath::AngleBetweenVectors( pValue, meanN ); @@ -115,7 +111,6 @@ void PolyDataNormals::Process() wxyz[1] = crossResult[0]; wxyz[2] = crossResult[1]; wxyz[3] = crossResult[2]; - printf("EED PolyDataNormals::Process 4\n"); vtkMath::RotateVectorByWXYZ(meanN, wxyz ,meanNormalresult); dataarray->SetTuple3( i , meanNormalresult[0], meanNormalresult[1], meanNormalresult[2] ); } // for @@ -125,9 +120,6 @@ void PolyDataNormals::Process() bbSetOutputOut( normal->GetOutput() ); } // if In - printf("EED PolyDataNormals::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)