18 #ifndef itkTriangleMeshToBinaryImageFilter_h
19 #define itkTriangleMeshToBinaryImageFilter_h
70 template<
typename TInputMesh,
typename 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);
207 itkSetMacro(Tolerance,
double);
208 itkGetConstMacro(Tolerance,
double);
240 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
244 void operator=(const Self &);
252 #ifndef ITK_MANUAL_INSTANTIATION
253 #include "itkTriangleMeshToBinaryImageFilter.hxx"
Point1D(const Point1D &point)
InputMeshType::CellsContainerIterator CellsContainerIterator
std::vector< Point2DType > Point2DVector
SmartPointer< const Self > ConstPointer
3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.
Represent the size (bounds) of a n-dimensional image.
OutputImageType * m_InfoImage
void SetInput(InputMeshType *input)
Superclass::OutputImageRegionType OutputImageRegionType
virtual void SetOrigin(PointType _arg)
std::vector< Point1D > Point1DVector
InputPointsContainer::Iterator InputPointsContainerIterator
itk::Point< double, 2 > Point2DType
itk::Array< double > DoubleArrayType
TriangleMeshToBinaryImageFilter Self
TOutputImage::SizeType SizeType
InputMeshType::CellsContainerPointer CellsContainerPointer
Base class for all process objects that output image data.
Point1D(const double p, const int s)
InputMeshType::CellType CellType
InputMeshType::PointsContainer InputPointsContainer
OutputImageType::DirectionType DirectionType
PointSetType::PointsContainer PointsContainer
StencilIndexVector m_StencilIndex
TriangleMeshToBinaryImageFilter()
InputMeshType * GetInput()
InputMeshType::Pointer InputMeshPointer
virtual void RasterizeTriangles()
virtual void SetSpacing(SpacingType _arg)
ImageSource< TOutputImage > Superclass
virtual void GenerateOutputInformation() override
virtual void GenerateData() override
InputMeshType::MeshTraits::CellTraits InputCellTraitsType
static bool ComparePoints2D(Point2DType a, Point2DType b)
static int PolygonToImageRaster(PointVector coords, Point1DArray &zymatrix, int extent[6])
std::vector< std::vector< Point1D > > Point1DArray
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
MeshTraits::PointsContainer PointsContainer
SmartPointer< Self > Pointer
DirectionType m_Direction
virtual void Modified() const
void SetInfoImage(OutputImageType *InfoImage)
InputMeshType::PointType InputPointType
TOutputImage OutputImageType
InputMeshType::PixelType InputPixelType
static bool ComparePoints1D(Point1D a, Point1D b)
std::vector< std::vector< PointType > > PointArray
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
itk::PointSet< double, 3 > PointSetType
OutputImageType::SpacingType SpacingType
std::vector< PointType > PointVector
std::vector< std::vector< Point2DType > > Point2DArray
OutputImageType::Pointer OutputImagePointer
Represent a n-dimensional index in a n-dimensional image.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
InputPointsContainer::Pointer InputPointsContainerPointer
OutputImageType::ValueType ValueType
itk::Point< double, 3 > PointType
std::vector< int > StencilIndexVector
TOutputImage::IndexType IndexType
~TriangleMeshToBinaryImageFilter()