From: eduardo.davila@creatis.insa-lyon.fr Date: Wed, 18 Oct 2023 06:39:40 +0000 (+0200) Subject: Clean code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b794702fe475370a6b75eccd408139c84a341f06;p=creaVtk.git Clean code --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkLinearExtrusionFilter.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkLinearExtrusionFilter.cxx index 678efe5..9a0491f 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkLinearExtrusionFilter.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkLinearExtrusionFilter.cxx @@ -55,8 +55,7 @@ void LinearExtrusionFilter::Process() } else { extrude->SetVector(1, 0, 0); } - // extrude->SetScaleFactor( bbGetInputScalarFactor() * (-1) ); - extrude->SetScaleFactor( bbGetInputScalarFactor() ); + extrude->SetScaleFactor( bbGetInputScalarFactor()/3 ); extrude->Update(); triangleFilter->SetInputData( extrude->GetOutput() ); triangleFilter->Update( );