]> Creatis software - clitk.git/blobdiff - itk/clitkMeshToBinaryImageFilter.h
Add quotes in case variables are not defined
[clitk.git] / itk / clitkMeshToBinaryImageFilter.h
index b681a983e380d2dd282e3c95d28fd2cac0a846b9..acecc385558081696b5b5db039770c2edccbf313 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to: 
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
 // clitk
 #include "clitkCommon.h"
 
+// itk
+#include <itkImageSource.h>
+
+// vtk
+#include <vtkSmartPointer.h>
+#include <vtkPolyData.h>
+
 namespace clitk {
     
   /* --------------------------------------------------------------------     
@@ -67,6 +74,9 @@ namespace clitk {
     itkSetMacro(LikeImage, ImagePointer);
     itkGetConstMacro(LikeImage, ImagePointer);
 
+    itkSetMacro(Extrude, bool);
+    itkGetMacro(Extrude, bool);
+
   protected:
     MeshToBinaryImageFilter();
     virtual ~MeshToBinaryImageFilter() {}
@@ -74,6 +84,7 @@ namespace clitk {
     virtual void GenerateOutputInformation();
     virtual void GenerateData();
 
+    bool m_Extrude;
     ImagePointer m_LikeImage;
     vtkSmartPointer<vtkPolyData> m_Mesh;