18 #ifndef itkExtractOrthogonalSwath2DImageFilter_h
19 #define itkExtractOrthogonalSwath2DImageFilter_h
41 template<
typename TImage >
79 static constexpr
unsigned int PathDimension = 2;
80 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
88 virtual void SetSpacing(
const double *spacing);
90 virtual void SetSpacing(
const float *spacing);
92 virtual const double * GetSpacing()
const;
98 virtual void SetOrigin(
const double *origin);
100 virtual void SetOrigin(
const float *origin);
102 virtual const double * GetOrigin()
const;
116 void EnlargeOutputRequestedRegion(
DataObject *output)
override
118 output->SetRequestedRegionToLargestPossibleRegion();
129 m_Size[1] = 16 * 2 + 1;
130 m_Origin[0] = m_Origin[1] = 0.0;
131 m_Spacing[0] = m_Spacing[1] = 1.0;
135 void PrintSelf(std::ostream & os,
Indent indent)
const override;
141 void GenerateOutputInformation()
override;
146 Superclass::GenerateInputRequestedRegion();
147 this->GetNonConstImageInput()->SetRequestedRegionToLargestPossibleRegion();
148 this->GetNonConstPathInput()->SetRequestedRegionToLargestPossibleRegion();
152 void GenerateData()
override;
160 double m_Origin[ImageDimension];
161 double m_Spacing[ImageDimension];
165 #ifndef ITK_MANUAL_INSTANTIATION
166 #include "itkExtractOrthogonalSwath2DImageFilter.hxx"
Light weight base class for most itk classes.
Define numeric traits for std::vector.
typename Superclass::InputType InputType
Base class for filters that take both a path and an image as input and produce a path as output...
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
Represent a n-dimensional size (bounds) of a n-dimensional image.
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image...
A templated class holding a point in n-Dimensional image space.
Control indentation during Print() invocation.
typename Superclass::OutputType OutputType
ImageBaseType::RegionType RegionType
ImageBaseType::SpacingType VectorType
Base class for all data objects in ITK.