18 #ifndef __itkPathToImageFilter_h
19 #define __itkPathToImageFilter_h
35 template<
class TInputPath,
class TOutputImage >
58 typedef typename OutputImageType::SizeType
SizeType;
59 typedef typename OutputImageType::ValueType
ValueType;
62 itkStaticConstMacro(OutputImageDimension,
unsigned int,
63 TOutputImage::ImageDimension);
66 using Superclass::SetInput;
69 virtual void SetInput(
unsigned int,
const TInputPath *path);
79 virtual void SetSpacing(
const double *spacing);
81 virtual void SetSpacing(
const float *spacing);
83 virtual const double * GetSpacing()
const;
90 itkGetConstMacro(BackgroundValue,
ValueType);
97 virtual void SetOrigin(
const double *origin);
99 virtual void SetOrigin(
const float *origin);
101 virtual const double * GetOrigin()
const;
113 virtual void GenerateData();
116 double m_Spacing[OutputImageDimension];
117 double m_Origin[OutputImageDimension];
121 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
125 void operator=(
const Self &);
129 #ifndef ITK_MANUAL_INSTANTIATION
130 #include "itkPathToImageFilter.hxx"