From: David Sarrut Date: Wed, 21 Mar 2012 08:32:57 +0000 (+0100) Subject: Add comments on the extrusion filter (Scaling not set) X-Git-Tag: v1.3.0~52^2~37 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6a0d93530372124e3d049e5dbe6274cfcbd372c1;p=clitk.git Add comments on the extrusion filter (Scaling not set) --- diff --git a/itk/clitkMeshToBinaryImageFilter.txx b/itk/clitkMeshToBinaryImageFilter.txx index 94424b8..cd9a3ba 100644 --- a/itk/clitkMeshToBinaryImageFilter.txx +++ b/itk/clitkMeshToBinaryImageFilter.txx @@ -109,6 +109,13 @@ GenerateData() // We extrude in the -slice_spacing direction to respect the FOCAL convention extrude->SetVector(0, 0, -m_LikeImage->GetSpacing()[2]); sts->SetInput(extrude->GetOutput()); + + // When extrude ScaleFactor indicate the extrusion scaling (default = 1) + /* + extrude->SetScaleFactor(m_LikeImage->GetSpacing()[2]/2.0); + DD(extrude->GetScaleFactor()); + DD(extrude->GetCapping()); + */ } else sts->SetInput(m_Mesh);