From: Eduardo DAVILA Date: Fri, 25 Aug 2023 15:57:29 +0000 (+0200) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a0c73212ef07203ba95f2fb9fbd1d7a8750a973d;p=creaVtk.git Clean code --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkMeshReduction_DecimatePro.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkMeshReduction_DecimatePro.cxx index 5dc340e..607ed21 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkMeshReduction_DecimatePro.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkMeshReduction_DecimatePro.cxx @@ -15,7 +15,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(MeshReduction_DecimatePro,bbtk::AtomicBlackBox); //===== void MeshReduction_DecimatePro::Process() { - // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -27,15 +26,11 @@ void MeshReduction_DecimatePro::Process() // (the one provided in the attribute 'name' of the tag 'input') // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') - if (firsttime==true) { firsttime = false; decimatepro = vtkDecimatePro::New(); } - - printf("EED MeshReduction_DecimatePro::DoProcess %s %p \n", bbGetFullName().c_str(), bbGetInputIn() ); - if (bbGetInputIn()!=NULL) { decimatepro->SetInputData( bbGetInputIn() );