18 #ifndef __itkTriangleMeshToBinaryImageFilter_h
19 #define __itkTriangleMeshToBinaryImageFilter_h
70 template<
class TInputMesh,
class TOutputImage >
81 typedef typename TOutputImage::SizeType
SizeType;
84 typedef typename OutputImageType::ValueType
ValueType;
134 virtual void SetSpacing(
const double spacing[3]);
137 virtual void SetSpacing(
const float spacing[3]);
154 itkGetConstMacro(InsideValue,
ValueType);
163 itkGetConstMacro(OutsideValue,
ValueType);
171 virtual void SetOrigin(
const double origin[3]);
174 virtual void SetOrigin(
const float origin[3]);
176 itkGetConstReferenceMacro(Origin,
PointType);
189 using Superclass::SetInput;
194 if ( InfoImage != m_InfoImage )
197 m_InfoImage = InfoImage;
202 InputMeshType * GetInput(
void);
204 InputMeshType * GetInput(
unsigned int idx);
207 itkSetMacro(Tolerance,
double);
208 itkGetConstMacro(Tolerance,
double);
214 virtual void GenerateData();
216 virtual void RasterizeTriangles();
218 static int PolygonToImageRaster(PointVector coords, Point1DArray & zymatrix,
int extent[6]);
239 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
243 void operator=(
const Self &);
251 #ifndef ITK_MANUAL_INSTANTIATION
252 #include "itkTriangleMeshToBinaryImageFilter.hxx"