18 #ifndef itkPathToImageFilter_h
19 #define itkPathToImageFilter_h
35 template<
typename TInputPath,
typename TOutputImage >
58 typedef typename OutputImageType::SizeType
SizeType;
59 typedef typename OutputImageType::ValueType
ValueType;
63 TOutputImage::ImageDimension);
69 virtual void SetInput(
unsigned int,
const TInputPath *path);
79 virtual void SetSpacing(
const double *spacing);
90 itkGetConstMacro(BackgroundValue,
ValueType);
97 virtual void SetOrigin(
const double *origin);
99 virtual void SetOrigin(
const float *origin);
101 virtual const double *
GetOrigin()
const;
121 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
125 void operator=(const Self &);
129 #ifndef ITK_MANUAL_INSTANTIATION
130 #include "itkPathToImageFilter.hxx"
SmartPointer< Self > Pointer
virtual void GenerateData() override
Represent the size (bounds) of a n-dimensional image.
virtual void SetInput(const InputPathType *path)
virtual const double * GetSpacing() const
virtual const double * GetOrigin() const
ValueType m_BackgroundValue
double m_Origin[OutputImageDimension]
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...
virtual void SetOrigin(const double *origin)
SmartPointer< const Self > ConstPointer
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
InputPathType::ConstPointer InputPathConstPointer
const InputPathType * GetInput()
OutputImageType::SizeType SizeType
virtual void GenerateOutputInformation() override
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
InputPathType::Pointer InputPathPointer
Superclass::OutputImageRegionType OutputImageRegionType
OutputImageType::ValueType ValueType
virtual void SetSpacing(const double *spacing)
ImageSource< TOutputImage > Superclass
static const unsigned int OutputImageDimension
virtual void PrintSelf(std::ostream &os, Indent indent) const override
double m_Spacing[OutputImageDimension]