18 #ifndef sitkFlipImageFilter_h
19 #define sitkFlipImageFilter_h
71 SITK_RETURN_SELF_TYPE_HEADER
SetFlipAxes (
const std::vector<bool> & FlipAxes ) { this->m_FlipAxes = FlipAxes;
return *
this; }
76 std::vector<bool>
GetFlipAxes()
const {
return this->m_FlipAxes; }
81 SITK_RETURN_SELF_TYPE_HEADER
SetFlipAboutOrigin (
bool FlipAboutOrigin ) { this->m_FlipAboutOrigin = FlipAboutOrigin;
return *
this; }
92 std::string
GetName()
const {
return std::string (
"FlipImageFilter"); }
95 std::string ToString()
const;
103 Image Execute (
const Image& image1,
const std::vector<bool> & flipAxes,
bool flipAboutOrigin );
110 typedef Image (Self::*MemberFunctionType)(
const Image& image1 );
111 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 main 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.