18 #ifndef sitkPermuteAxesImageFilter_h
19 #define sitkPermuteAxesImageFilter_h
60 static const unsigned int DefaultOrder[3];
67 SITK_RETURN_SELF_TYPE_HEADER
SetOrder (
const std::vector<unsigned int> & Order ) { this->m_Order = Order;
return *
this; }
72 std::vector<unsigned int>
GetOrder()
const {
return this->m_Order; }
74 std::string
GetName()
const {
return std::string (
"PermuteAxesImageFilter"); }
77 std::string ToString()
const;
85 Image Execute (
const Image& image1,
const std::vector<unsigned int> & order );
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;
Image PermuteAxes(const Image &image1, const std::vector< unsigned int > &order=std::vector< unsigned int >(&itk::simple::PermuteAxesImageFilter::DefaultOrder[0],&itk::simple::PermuteAxesImageFilter::DefaultOrder[3]))
Permutes the image axes according to a user specified order.
typelist::Append< typelist::Append< BasicPixelIDTypeList, ComplexPixelIDTypeList >::Type, VectorPixelIDTypeList >::Type NonLabelPixelIDTypeList
#define SITKBasicFilters_EXPORT
std::vector< unsigned int > m_Order
std::string GetName() const
static const unsigned int DefaultOrder[3]
PermuteAxesImageFilter Self
NonLabelPixelIDTypeList PixelIDTypeList
Self & SetOrder(const std::vector< unsigned int > &Order)
nsstd::auto_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
The Image class for SimpleITK.
Permutes the image axes according to a user specified order.
std::vector< unsigned int > GetOrder() const
The base interface for SimpleITK filters that take one input image.