|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkTriangleMeshToBinaryImageFilter_h
19 #define itkTriangleMeshToBinaryImageFilter_h
72 template <
typename TInputMesh,
typename TOutputImage>
88 using ValueType =
typename OutputImageType::ValueType;
139 SetSpacing(
const double spacing[3]);
143 SetSpacing(
const float spacing[3]);
160 itkGetConstMacro(InsideValue,
ValueType);
169 itkGetConstMacro(OutsideValue,
ValueType);
178 SetOrigin(
const double origin[3]);
182 SetOrigin(
const float origin[3]);
184 itkGetConstReferenceMacro(Origin,
PointType);
197 using Superclass::SetInput;
204 if (InfoImage != m_InfoImage)
207 m_InfoImage = InfoImage;
216 GetInput(
unsigned int idx);
219 itkSetMacro(Tolerance,
double);
220 itkGetConstMacro(Tolerance,
double);
230 GenerateData()
override;
233 RasterizeTriangles();
236 PolygonToImageRaster(PointVector coords, Point1DArray & zymatrix,
int extent[6]);
258 PrintSelf(std::ostream & os,
Indent indent)
const override;
269 #ifndef ITK_MANUAL_INSTANTIATION
270 # include "itkTriangleMeshToBinaryImageFilter.hxx"
OutputImageType * m_InfoImage
typename OutputImageType::DirectionType DirectionType
Represent a n-dimensional index in a n-dimensional image.
typename InputMeshType::CellType CellType
typename InputMeshType::CellsContainerIterator CellsContainerIterator
ImageBaseType::DirectionType DirectionType
typename InputMeshType::CellsContainerPointer CellsContainerPointer
typename OutputImageType::Pointer OutputImagePointer
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
Represent a n-dimensional size (bounds) of a n-dimensional image.
typename InputMeshType::PixelType InputPixelType
std::vector< int > StencilIndexVector
typename InputMeshType::PointsContainer InputPointsContainer
typename InputPointsContainer::Pointer InputPointsContainerPointer
typename InputMeshType::Pointer InputMeshPointer
ImageBaseType::PointType PointType
typename InputPointsContainer::Iterator InputPointsContainerIterator
typename TOutputImage::SizeType SizeType
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
void SetInfoImage(OutputImageType *InfoImage)
typename OutputImageType::SpacingType SpacingType
std::vector< std::vector< PointType > > PointArray
Point1D(const double p, const int s)
ImageBaseType::IndexType IndexType
Base class for all process objects that output image data.
std::vector< Point2DType > Point2DVector
3D Rasterization algorithm Courtesy of Dr David Gobbi of Atamai Inc.
typename PointSetType::PointsContainer PointsContainer
typename OutputImageType::ValueType ValueType
std::vector< PointType > PointVector
TOutputImage OutputImageType
DirectionType m_Direction
typename MeshTraits::PointsContainer PointsContainer
typename OutputImageType::RegionType OutputImageRegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
std::vector< std::vector< Point1D > > Point1DArray
std::vector< Point1D > Point1DVector
Point1D(const Point1D &point)
std::vector< std::vector< Point2DType > > Point2DArray
void GenerateOutputInformation() override
typename TOutputImage::IndexType IndexType
StencilIndexVector m_StencilIndex
typename InputMeshType::PointType InputPointType
typename InputMeshType::MeshTraits::CellTraits InputCellTraitsType