18 #ifndef itkPathToImageFilter_h
19 #define itkPathToImageFilter_h
36 template <
typename TInputPath,
typename TOutputImage>
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);
79 GetInput(
unsigned int idx);
86 SetSpacing(
const double * spacing);
89 SetSpacing(
const float * spacing);
91 virtual const double *
99 itkGetConstMacro(BackgroundValue,
ValueType);
107 SetOrigin(
const double * origin);
110 SetOrigin(
const float * origin);
112 virtual const double *
128 GenerateData()
override;
131 double m_Spacing[OutputImageDimension];
132 double m_Origin[OutputImageDimension];
137 PrintSelf(std::ostream & os,
Indent indent)
const override;
141 #ifndef ITK_MANUAL_INSTANTIATION
142 # include "itkPathToImageFilter.hxx"