18#ifndef itkPathToImageFilter_h
19#define itkPathToImageFilter_h
36template <
typename TInputPath,
typename TOutputImage>
55 using typename Superclass::OutputImageRegionType;
62 using ValueType =
typename OutputImageType::ValueType;
65 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
68 using Superclass::SetInput;
73 SetInput(
unsigned int,
const TInputPath * path);
91 virtual const double *
112 virtual const double *
131 double m_Spacing[OutputImageDimension]{};
132 double m_Origin[OutputImageDimension]{};
141#ifndef ITK_MANUAL_INSTANTIATION
142# include "itkPathToImageFilter.hxx"
Base class for all process objects that output image data.
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Control indentation during Print() invocation.
Base class for filters that take a Path as input and produce an image as output. Base class for filte...
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetSpacing(const float *spacing)
typename InputPathType::ConstPointer InputPathConstPointer
void GenerateOutputInformation() override
const InputPathType * GetInput(unsigned int idx)
virtual void SetSpacing(const double *spacing)
typename InputPathType::Pointer InputPathPointer
virtual const double * GetSpacing() const
typename OutputImageType::ValueType ValueType
virtual void SetOrigin(const double *origin)
void GenerateData() override
~PathToImageFilter() override=default
virtual void SetInput(unsigned int, const TInputPath *path)
virtual const double * GetOrigin() const
const InputPathType * GetInput()
virtual void SetInput(const InputPathType *input)
virtual void SetOrigin(const float *origin)
typename OutputImageType::SizeType SizeType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional size (bounds) of a n-dimensional image.