18 #ifndef itkPointSetToImageFilter_h 19 #define itkPointSetToImageFilter_h 33 template<
typename TInputPo
intSet,
typename TOutputImage >
42 typedef typename TOutputImage::SizeType
SizeType;
45 typedef typename OutputImageType::ValueType
ValueType;
63 InputPointSetType::PointDimension);
65 TOutputImage::ImageDimension);
75 virtual void SetInput(
const InputPointSetType *pointset);
77 virtual void SetInput(
unsigned int,
const InputPointSetType *pointset);
79 const InputPointSetType *
GetInput();
81 const InputPointSetType *
GetInput(
unsigned int idx);
87 itkSetMacro(Spacing, SpacingType);
88 virtual void SetSpacing(
const double *spacing);
97 itkGetConstReferenceMacro(Spacing, SpacingType);
102 itkSetMacro(Direction, DirectionType);
103 itkGetConstReferenceMacro(Direction, DirectionType);
110 itkSetMacro(Origin, PointType);
111 virtual void SetOrigin(
const double *origin);
114 virtual void SetOrigin(
const float *origin);
120 itkGetConstReferenceMacro(Origin, PointType);
128 itkSetMacro(InsideValue, ValueType);
129 itkGetConstMacro(InsideValue, ValueType);
138 itkSetMacro(OutsideValue, ValueType);
139 itkGetConstMacro(OutsideValue, ValueType);
143 itkSetMacro(
Size, SizeType);
144 itkGetConstMacro(
Size, SizeType);
165 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
169 void operator=(const Self &) ITK_DELETE_FUNCTION;
173 #ifndef ITK_MANUAL_INSTANTIATION 174 #include "itkPointSetToImageFilter.hxx" const InputPointSetType * GetInput()
SmartPointer< Self > Pointer
OutputImageType::ValueType ValueType
TOutputImage OutputImageType
virtual void SetOrigin(PointType _arg)
Represent the size (bounds) of a n-dimensional image.
SmartPointer< const Self > ConstPointer
PointSetToImageFilter Self
OutputImageType::Pointer OutputImagePointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TOutputImage::SizeType SizeType
InputPointSetType::Pointer InputPointSetPointer
DirectionType m_Direction
Base class for all process objects that output image data.
TInputPointSet InputPointSetType
static const unsigned int InputPointSetDimension
virtual void SetInput(const InputPointSetType *pointset)
TOutputImage::DirectionType DirectionType
ImageSource< TOutputImage > Superclass
TOutputImage::SpacingType SpacingType
Superclass::OutputImageRegionType OutputImageRegionType
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
static const unsigned int OutputImageDimension
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.
virtual void SetSpacing(SpacingType _arg)
virtual void GenerateOutputInformation() override
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
TOutputImage::PointType PointType
virtual void GenerateData() override
InputPointSetType::ConstPointer InputPointSetConstPointer