18 #ifndef __itkExtractOrthogonalSwath2DImageFilter_h
19 #define __itkExtractOrthogonalSwath2DImageFilter_h
41 template<
class TImage >
77 itkStaticConstMacro(PathDimension,
unsigned int,
79 itkStaticConstMacro(ImageDimension,
unsigned int,
80 TImage::ImageDimension);
89 virtual void SetSpacing(
const double *spacing);
91 virtual void SetSpacing(
const float *spacing);
93 virtual const double * GetSpacing()
const;
99 virtual void SetOrigin(
const double *origin);
101 virtual void SetOrigin(
const float *origin);
103 virtual const double * GetOrigin()
const;
117 virtual
void EnlargeOutputRequestedRegion(
DataObject *output)
119 output->SetRequestedRegionToLargestPossibleRegion();
130 m_Size[1] = 16 * 2 + 1;
131 m_Origin[0] = m_Origin[1] = 0.0;
132 m_Spacing[0] = m_Spacing[1] = 1.0;
136 void PrintSelf(std::ostream & os,
Indent indent)
const;
142 virtual void GenerateOutputInformation(
void);
145 virtual void GenerateInputRequestedRegion()
147 Superclass::GenerateInputRequestedRegion();
148 this->GetNonConstImageInput()->SetRequestedRegionToLargestPossibleRegion();
149 this->GetNonConstPathInput()->SetRequestedRegionToLargestPossibleRegion();
153 virtual void GenerateData(
void);
160 void operator=(
const Self &);
164 double m_Origin[ImageDimension];
165 double m_Spacing[ImageDimension];
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkExtractOrthogonalSwath2DImageFilter.hxx"