From: Eduardo DAVILA Date: Thu, 23 Mar 2023 15:49:30 +0000 (+0100) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=459f8b8d5fa21896f1c985c227ae6f814038a99f;p=creaVtk.git Clean code --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.cxx index 64febaf..b229f53 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkMeshDeformation.cxx @@ -13,7 +13,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(MeshDeformation,bbtk::AtomicBlackBox); //===== void MeshDeformation::Process() { - // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -28,9 +27,7 @@ void MeshDeformation::Process() // bbSetOutputOut( bbGetInputIn() ); // std::cout << "Output value = " < lstCenter = bbGetInputCenter(); - double s = bbGetInputS(); bool ok = false; if (bbGetInputTypeIn()==0) // direction @@ -129,7 +126,7 @@ void MeshDeformation::Process() points->Modified(); bbGetInputIn()->Modified(); } // if distance_x y z != 0 - } // In != NULL ok active + } // In != NULL ok active } //===== // 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)