18 #ifndef sitkScaleSkewVersor3DTransform_h
19 #define sitkScaleSkewVersor3DTransform_h
53 const std::vector< double> &skew,
54 const std::vector< double > &versor,
55 const std::vector< double > &translation=std::vector< double >(3, 0.0),
56 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0) );
59 const std::vector< double> &skew,
60 const std::vector< double > &axis,
double angle,
61 const std::vector< double > &translation=std::vector< double >(3, 0.0),
62 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0) );
67 std::string
GetName()
const {
return std::string (
"ScaleSkewVersor3DTransform"); }
70 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
71 std::vector<double> GetCenter( )
const;
75 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
76 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
77 std::vector<double> GetVersor()
const;
79 std::vector<double> GetTranslation( )
const;
80 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
82 std::vector<double> GetScale( )
const;
83 SITK_RETURN_SELF_TYPE_HEADER SetScale(
const std::vector<double> & scale );
85 std::vector<double> GetSkew( )
const;
86 SITK_RETURN_SELF_TYPE_HEADER SetSkew(
const std::vector<double> & skew );
89 SITK_RETURN_SELF_TYPE_HEADER Translate(
const std::vector<double> &offset);
90 std::vector<double> GetMatrix()
const;
94 virtual void SetPimpleTransform( PimpleTransformBase *pimpleTransform );
98 using Superclass::AddTransform;
102 template <
typename TransformType>
103 void InternalInitialization(TransformType *transform);
106 nsstd::function<void(const std::vector<double>&)> m_pfSetCenter;
107 nsstd::function<std::vector<double>()> m_pfGetCenter;
108 nsstd::function<void(const std::vector<double>&)> m_pfSetRotation1;
109 nsstd::function<void(const std::vector<double>&,double)> m_pfSetRotation2;
110 nsstd::function<std::vector<double>()> m_pfGetVersor;
111 nsstd::function<void(const std::vector<double>&)> m_pfSetTranslation;
112 nsstd::function<std::vector<double>()> m_pfGetTranslation;
113 nsstd::function<void(const std::vector<double>&)> m_pfSetScale;
114 nsstd::function<std::vector<double>()> m_pfGetScale;
115 nsstd::function<void(const std::vector<double>&)> m_pfSetSkew;
116 nsstd::function<std::vector<double>()> m_pfGetSkew;
117 nsstd::function<void(const std::vector<double> &)> m_pfTranslate;
118 nsstd::function<std::vector<double>()> m_pfGetMatrix;
124 #endif // sitkVersorTransform_h
#define SITKCommon_EXPORT