18 #ifndef sitkExtractImageFilter_h
19 #define sitkExtractImageFilter_h
80 SITK_RETURN_SELF_TYPE_HEADER
SetSize (
const std::vector<unsigned int> &
Size ) { this->m_Size =
Size;
return *
this; }
84 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetIndex (
const std::vector<int> &
Index ) { this->m_Index =
Index;
return *
this; }
93 std::vector<int>
GetIndex()
const {
return this->m_Index; }
95 typedef enum {
DIRECTIONCOLLAPSETOUNKOWN,DIRECTIONCOLLAPSETOIDENTITY,DIRECTIONCOLLAPSETOSUBMATRIX,DIRECTIONCOLLAPSETOGUESS} DirectionCollapseToStrategyType;
113 std::string
GetName()
const {
return std::string (
"ExtractImageFilter"); }
116 std::string ToString()
const;
131 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );