18 #ifndef sitkCyclicShiftImageFilter_h
19 #define sitkCyclicShiftImageFilter_h
63 SITK_RETURN_SELF_TYPE_HEADER
SetShift (
const std::vector<int> & Shift ) { this->m_Shift = Shift;
return *
this; }
66 SITK_RETURN_SELF_TYPE_HEADER
SetShift(
int value ) { this->m_Shift = std::vector<int>(3, value);
return *
this; }
72 std::vector<int>
GetShift()
const {
return this->m_Shift; }
74 std::string
GetName()
const {
return std::string (
"CyclicShiftImageFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1,
const std::vector<int> & shift );
91 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
92 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
97 nsstd::auto_ptr<detail::MemberFunctionFactory<MemberFunctionType> >
m_MemberFactory;
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
Self & SetShift(const std::vector< int > &Shift)
std::string GetName() const
Image CyclicShift(const Image &image1, const std::vector< int > &shift=std::vector< int >(3, 0))
Perform a cyclic spatial shift of image intensities on the image grid.
Perform a cyclic spatial shift of image intensities on the image grid.
Self & SetShift(int value)
std::vector< int > m_Shift
CyclicShiftImageFilter Self
NonLabelPixelIDTypeList PixelIDTypeList
The Image class for SimpleITK.
std::vector< int > GetShift() const
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The base interface for SimpleITK filters that take one input image.