]> Creatis software - creaVtk.git/commitdiff
Clean code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Wed, 18 Oct 2023 06:39:40 +0000 (08:39 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Wed, 18 Oct 2023 06:39:40 +0000 (08:39 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkLinearExtrusionFilter.cxx

index 678efe5f3a63f556834ca75a5819605f5487e8d0..9a0491f42efe4ab65703acedc89023d46c88ae82 100644 (file)
@@ -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( );