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;
112 virtual void GenerateData();
115 double m_Spacing[OutputImageDimension];
116 double m_Origin[OutputImageDimension];
120 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
124 void operator=(
const Self &);
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkPathToImageFilter.hxx"