 |
ITK
5.4.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkPathToImageFilter_h
19 #define itkPathToImageFilter_h
36 template <
typename TInputPath,
typename TOutputImage>
55 using typename Superclass::OutputImageRegionType;
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"
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
typename OutputImageType::Pointer OutputImagePointer
void GenerateOutputInformation() override
Represent a n-dimensional size (bounds) of a n-dimensional image.
ImageBaseType::SizeType SizeType
Control indentation during Print() invocation.
Base class for all process objects that output image data.
typename InputPathType::Pointer InputPathPointer
typename OutputImageType::SizeType SizeType
typename InputPathType::ConstPointer InputPathConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Base class for filters that take a Path as input and produce an image as output. Base class for filte...
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename OutputImageType::ValueType ValueType
TOutputImage OutputImageType