18#ifndef sitkSliceImageFilter_h
19#define sitkSliceImageFilter_h
67 SITK_RETURN_SELF_TYPE_HEADER
SetStart ( std::vector<int32_t> Start ) { this->
m_Start = std::move(Start);
return *
this; }
77 SITK_RETURN_SELF_TYPE_HEADER
SetStop ( std::vector<int32_t> Stop ) { this->
m_Stop = std::move(Stop);
return *
this; }
87 SITK_RETURN_SELF_TYPE_HEADER
SetStep ( std::vector<int> Step ) { this->
m_Step = std::move(Step);
return *
this; }
90 SITK_RETURN_SELF_TYPE_HEADER
SetStep(
int value ) { this->
m_Step = std::vector<int>(3, value);
return *
this; }
98 std::string
GetName()
const {
return std::string (
"SliceImageFilter"); }
121 std::vector<int32_t>
m_Start{std::vector<int32_t>(3, 0)};
123 std::vector<int32_t>
m_Stop{std::vector<int32_t>(3, std::numeric_limits<int32_t>::max())};
125 std::vector<int>
m_Step{std::vector<int>(3, 1)};
140 SITKBasicFilters_EXPORT Image Slice (
const Image& image1, std::vector<int32_t> start = std::vector<int32_t>(3, 0), std::vector<int32_t> stop = std::vector<int32_t>(3, std::numeric_limits<int32_t>::max()), std::vector<int> step = std::vector<int>(3, 1) );
The Image class for SimpleITK.
virtual ~SliceImageFilter()
Self & SetStep(std::vector< int > Step)
std::vector< int > m_Step
std::string GetName() const
Self & SetStart(std::vector< int32_t > Start)
std::vector< int32_t > m_Start
std::vector< int32_t > GetStop() const
std::vector< int > GetStep() const
Image(Self::*)(const Image &image1) MemberFunctionType
std::string ToString() const
std::vector< int32_t > m_Stop
Image Execute(const Image &image1)
std::vector< int32_t > GetStart() const
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetStep(int value)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetStop(std::vector< int32_t > Stop)
Image ExecuteInternal(const Image &image1)
typelist2::append< BasicPixelIDTypeList, ComplexPixelIDTypeList, VectorPixelIDTypeList >::type NonLabelPixelIDTypeList
Image Slice(const Image &image1, std::vector< int32_t > start=std::vector< int32_t >(3, 0), std::vector< int32_t > stop=std::vector< int32_t >(3, std::numeric_limits< int32_t >::max()), std::vector< int > step=std::vector< int >(3, 1))
Slices an image based on a starting index and a stopping index, and a step size.
#define SITKBasicFilters_EXPORT