18 #ifndef itkTestingExtractSliceImageFilter_h
19 #define itkTestingExtractSliceImageFilter_h
82 template<
typename TInputImage,
typename TOutputImage >
120 DIRECTIONCOLLAPSETOUNKOWN=0,
121 DIRECTIONCOLLAPSETOIDENTITY=1,
122 DIRECTIONCOLLAPSETOSUBMATRIX=2,
123 DIRECTIONCOLLAPSETOGUESS=3
124 } DIRECTIONCOLLAPSESTRATEGY;
153 switch(choosenStrategy)
155 case DIRECTIONCOLLAPSETOGUESS:
156 case DIRECTIONCOLLAPSETOIDENTITY:
157 case DIRECTIONCOLLAPSETOSUBMATRIX:
159 case DIRECTIONCOLLAPSETOUNKOWN:
161 itkExceptionMacro( <<
"Invalid Strategy Chosen for itk::ExtractSliceImageFilter" );
165 this->m_DirectionCollaspeStrategy=choosenStrategy;
179 return this->m_DirectionCollaspeStrategy;
185 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOGUESS);
191 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOIDENTITY);
197 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOSUBMATRIX);
202 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
203 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
206 Self::InputImageDimension,
207 Self::OutputImageDimension >;
219 using Superclass::SetInput;
220 virtual void SetInput(
const TInputImage *image);
221 const TInputImage * GetInput()
const;
224 #ifdef ITK_USE_CONCEPT_CHECKING
234 void PrintSelf(std::ostream & os,
Indent indent)
const override;
244 void GenerateOutputInformation()
override;
278 #ifndef ITK_MANUAL_INSTANTIATION
279 #include "itkTestingExtractSliceImageFilter.hxx"
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)