18 #ifndef sitkFlipImageFilter_h
19 #define sitkFlipImageFilter_h
65 SITK_RETURN_SELF_TYPE_HEADER
SetFlipAxes (
const std::vector<bool> & FlipAxes ) { this->m_FlipAxes = FlipAxes;
return *
this; }
70 std::vector<bool>
GetFlipAxes()
const {
return this->m_FlipAxes; }
75 SITK_RETURN_SELF_TYPE_HEADER
SetFlipAboutOrigin (
bool FlipAboutOrigin ) { this->m_FlipAboutOrigin = FlipAboutOrigin;
return *
this; }
86 std::string
GetName()
const {
return std::string (
"FlipImageFilter"); }
89 std::string ToString()
const;
97 Image Execute (
const Image& image1,
const std::vector<bool> & flipAxes,
bool flipAboutOrigin );
103 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
104 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
Self & SetFlipAboutOrigin(bool FlipAboutOrigin)
bool GetFlipAboutOrigin() const
Self & FlipAboutOriginOff()
#define SITKBasicFilters_EXPORT
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
Self & SetFlipAxes(const std::vector< bool > &FlipAxes)
Self & FlipAboutOriginOn()
Image Flip(const Image &image1, const std::vector< bool > &flipAxes=std::vector< bool >(3, false), bool flipAboutOrigin=false)
Flips an image across user specified axes.
std::vector< bool > m_FlipAxes
The Image class for SimpleITK.
std::string GetName() const
std::vector< bool > GetFlipAxes() const
NonLabelPixelIDTypeList PixelIDTypeList
Flips an image across user specified axes.
The base interface for SimpleITK filters that take one input image.