18#ifndef itkTestingExtractSliceImageFilter_h
19#define itkTestingExtractSliceImageFilter_h
42 DIRECTIONCOLLAPSETOUNKOWN = 0,
43 DIRECTIONCOLLAPSETOIDENTITY = 1,
44 DIRECTIONCOLLAPSETOSUBMATRIX = 2,
45 DIRECTIONCOLLAPSETOGUESS = 3
107template <
typename TInputImage,
typename TOutputImage>
148#if !defined(ITK_LEGACY_REMOVE)
152 DIRECTIONCOLLAPSESTRATEGY::DIRECTIONCOLLAPSETOUNKOWN;
154 DIRECTIONCOLLAPSESTRATEGY::DIRECTIONCOLLAPSETOIDENTITY;
156 DIRECTIONCOLLAPSESTRATEGY::DIRECTIONCOLLAPSETOSUBMATRIX;
158 DIRECTIONCOLLAPSESTRATEGY::DIRECTIONCOLLAPSETOGUESS;
188 switch (choosenStrategy)
190 case TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOGUESS:
191 case TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOIDENTITY:
192 case TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOSUBMATRIX:
194 case TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOUNKOWN:
196 itkExceptionMacro(
"Invalid Strategy Chosen for itk::ExtractSliceImageFilter");
200 this->m_DirectionCollaspeStrategy = choosenStrategy;
212 DIRECTIONCOLLAPSESTRATEGY
219 this->SetDirectionCollapseToStrategy(TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOGUESS);
226 this->SetDirectionCollapseToStrategy(TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOIDENTITY);
233 this->SetDirectionCollapseToStrategy(TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOSUBMATRIX);
238 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
239 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
255 using Superclass::SetInput;
262#ifdef ITK_USE_CONCEPT_CHECKING
314 TestExtractSliceImageFilterCollapseStrategyEnum::DIRECTIONCOLLAPSETOUNKOWN
320#ifndef ITK_MANUAL_INSTANTIATION
321# include "itkTestingExtractSliceImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
std::ostream & operator<<(std::ostream &out, const ExtractSliceImageFilterEnums::TestExtractSliceImageFilterCollapseStrategy value)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....