18 #ifndef itkTestingExtractSliceImageFilter_h
19 #define itkTestingExtractSliceImageFilter_h
82 template<
typename TInputImage,
typename TOutputImage >
118 DIRECTIONCOLLAPSETOUNKOWN=0,
119 DIRECTIONCOLLAPSETOIDENTITY=1,
120 DIRECTIONCOLLAPSETOSUBMATRIX=2,
121 DIRECTIONCOLLAPSETOGUESS=3
122 } DIRECTIONCOLLAPSESTRATEGY;
151 switch(choosenStrategy)
153 case DIRECTIONCOLLAPSETOGUESS:
154 case DIRECTIONCOLLAPSETOIDENTITY:
155 case DIRECTIONCOLLAPSETOSUBMATRIX:
157 case DIRECTIONCOLLAPSETOUNKOWN:
159 itkExceptionMacro( <<
"Invalid Strategy Chosen for itk::ExtractSliceImageFilter" );
163 this->m_DirectionCollaspeStrategy=choosenStrategy;
177 return this->m_DirectionCollaspeStrategy;
183 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOGUESS);
189 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOIDENTITY);
195 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOSUBMATRIX);
200 itkStaticConstMacro(InputImageDimension,
unsigned int,
201 TInputImage::ImageDimension);
202 itkStaticConstMacro(OutputImageDimension,
unsigned int,
203 TOutputImage::ImageDimension);
207 itkGetStaticConstMacro(InputImageDimension),
220 using Superclass::SetInput;
221 virtual void SetInput(
const TInputImage *image);
222 const TInputImage * GetInput()
const;
225 #ifdef ITK_USE_CONCEPT_CHECKING
235 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
245 virtual void GenerateOutputInformation() ITK_OVERRIDE;
256 virtual
void CallCopyOutputRegionToInputRegion(InputImageRegionType & destRegion,
257 const OutputImageRegionType & srcRegion);
267 void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
282 #ifndef ITK_MANUAL_INSTANTIATION
283 #include "itkTestingExtractSliceImageFilter.hxx"
Base class for all process objects that output image data.
unsigned int ThreadIdType
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
#define itkConceptMacro(name, concept)
ImageBaseType::IndexType IndexType