18 #ifndef __itkExtractImageFilter_h
19 #define __itkExtractImageFilter_h
89 template<
class TInputImage,
class TOutputImage >
125 DIRECTIONCOLLAPSETOUNKOWN=0,
126 DIRECTIONCOLLAPSETOIDENTITY=1,
127 DIRECTIONCOLLAPSETOSUBMATRIX=2,
128 DIRECTIONCOLLAPSETOGUESS=3
129 } DIRECTIONCOLLAPSESTRATEGY;
158 switch(choosenStrategy)
160 case DIRECTIONCOLLAPSETOGUESS:
161 case DIRECTIONCOLLAPSETOIDENTITY:
162 case DIRECTIONCOLLAPSETOSUBMATRIX:
164 case DIRECTIONCOLLAPSETOUNKOWN:
166 itkExceptionMacro( <<
"Invalid Strategy Chosen for itk::ExtractImageFilter" );
170 this->m_DirectionCollapseStrategy=choosenStrategy;
184 return this->m_DirectionCollapseStrategy;
188 void SetDirectionCollapseToGuess()
190 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOGUESS);
194 void SetDirectionCollapseToIdentity()
196 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOIDENTITY);
200 void SetDirectionCollapseToSubmatrix()
202 this->SetDirectionCollapseToStrategy(DIRECTIONCOLLAPSETOSUBMATRIX);
207 itkStaticConstMacro(InputImageDimension,
unsigned int,
208 TInputImage::ImageDimension);
209 itkStaticConstMacro(OutputImageDimension,
unsigned int,
210 TOutputImage::ImageDimension);
214 itkGetStaticConstMacro(InputImageDimension),
226 #ifdef ITK_USE_CONCEPT_CHECKING
237 void PrintSelf(std::ostream & os,
Indent indent)
const;
247 virtual void GenerateOutputInformation();
259 virtual void CallCopyOutputRegionToInputRegion(InputImageRegionType & destRegion,
260 const OutputImageRegionType & srcRegion);
271 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
285 void operator=(
const Self &);
291 #ifndef ITK_MANUAL_INSTANTIATION
292 #include "itkExtractImageFilter.hxx"