]> Creatis software - clitk.git/commitdiff
Add comments on the extrusion filter (Scaling not set)
authorDavid Sarrut <david.sarrut@gmail.com>
Wed, 21 Mar 2012 08:32:57 +0000 (09:32 +0100)
committerDavid Sarrut <david.sarrut@gmail.com>
Wed, 21 Mar 2012 08:32:57 +0000 (09:32 +0100)
itk/clitkMeshToBinaryImageFilter.txx

index 94424b8631ca4e9fa7d7e1f3c4af3fbf90bf1d70..cd9a3bafbbc2a421b780a7f837df371429345b98 100644 (file)
@@ -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);