18 #ifndef sitkExtractImageFilter_h
19 #define sitkExtractImageFilter_h
93 SITK_RETURN_SELF_TYPE_HEADER
SetSize ( std::vector<unsigned int>
Size ) { this->m_Size = std::move(
Size);
return *
this; }
97 std::vector<unsigned int>
GetSize()
const {
return this->m_Size; }
103 SITK_RETURN_SELF_TYPE_HEADER
SetIndex ( std::vector<int>
Index ) { this->m_Index = std::move(
Index);
return *
this; }
107 std::vector<int>
GetIndex()
const {
return this->m_Index; }
109 typedef enum {
DIRECTIONCOLLAPSETOUNKOWN,DIRECTIONCOLLAPSETOIDENTITY,DIRECTIONCOLLAPSETOSUBMATRIX,DIRECTIONCOLLAPSETOGUESS} DirectionCollapseToStrategyType;
142 std::string
GetName()
const {
return "ExtractImageFilter"; }
145 std::string ToString()
const;
159 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
166 template <
class TImageType,
unsigned int OutputDimension>
167 Image ExecuteInternal (
const TImageType *image1,
unsigned int outputDimension, std::integral_constant<unsigned int, OutputDimension> meta );
168 template <
class TImageType>
169 Image ExecuteInternal (
const TImageType *image1,
unsigned int outputDimension, std::integral_constant<unsigned int, 1> meta );
179 bool m_InPlace{
false};