18 #ifndef itkPathToImageFilter_h
19 #define itkPathToImageFilter_h
35 template<
typename TInputPath,
typename TOutputImage >
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 GenerateOutputInformation() ITK_OVERRIDE {}
113 virtual void GenerateData() ITK_OVERRIDE;
116 double m_Spacing[OutputImageDimension];
117 double m_Origin[OutputImageDimension];
121 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "itkPathToImageFilter.hxx"
SmartPointer< Self > Pointer
Represent the size (bounds) of a n-dimensional image.
TOutputImage OutputImageType
Base class for all process objects that output image data.
OutputImageType::Pointer OutputImagePointer
Base class for filters that take a Path as input and produce an image as output. Base class for filte...
SmartPointer< const Self > ConstPointer
InputPathType::ConstPointer InputPathConstPointer
OutputImageType::SizeType SizeType
Control indentation during Print() invocation.
InputPathType::Pointer InputPathPointer
Superclass::OutputImageRegionType OutputImageRegionType
ImageBaseType::SizeType SizeType
OutputImageType::ValueType ValueType
ImageSource< TOutputImage > Superclass