18 #ifndef itkPointSetToImageFilter_h
19 #define itkPointSetToImageFilter_h
33 template<
typename TInputPo
intSet,
typename TOutputImage >
47 using ValueType =
typename OutputImageType::ValueType;
64 static constexpr
unsigned int InputPointSetDimension = InputPointSetType::PointDimension;
65 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
73 using Superclass::SetInput;
87 virtual void SetSpacing(
const double *spacing);
90 virtual void SetSpacing(
const float *spacing);
110 virtual void SetOrigin(
const double *origin);
113 virtual void SetOrigin(
const float *origin);
119 itkGetConstReferenceMacro(Origin,
PointType);
128 itkGetConstMacro(InsideValue,
ValueType);
138 itkGetConstMacro(OutsideValue,
ValueType);
151 void GenerateData()
override;
164 void PrintSelf(std::ostream & os,
Indent indent)
const override;
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkPointSetToImageFilter.hxx"
typename TOutputImage::SpacingType SpacingType
typename OutputImageType::Pointer OutputImagePointer
typename InputPointSetType::ConstPointer InputPointSetConstPointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void GenerateOutputInformation() override
DirectionType m_Direction
Base class for all process objects that output image data.
typename TOutputImage::PointType PointType
typename InputPointSetType::Pointer InputPointSetPointer
ImageBaseType::SizeType SizeType
ImageBaseType::DirectionType DirectionType
typename OutputImageType::RegionType OutputImageRegionType
TInputPointSet InputPointSetType
TOutputImage OutputImageType
Represent a n-dimensional size (bounds) of a n-dimensional image.
typename TOutputImage::SizeType SizeType
typename OutputImageType::ValueType ValueType
Base class for filters that take a PointSet as input and produce an image as output. By default, if the user does not specify the size of the output image, the maximum size of the point-set's bounding box is used.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename TOutputImage::DirectionType DirectionType