From 6a0d93530372124e3d049e5dbe6274cfcbd372c1 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Wed, 21 Mar 2012 09:32:57 +0100 Subject: [PATCH] Add comments on the extrusion filter (Scaling not set) --- itk/clitkMeshToBinaryImageFilter.txx | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.47.1