18 #ifndef sitkScaleSkewVersor3DTransform_h
19 #define sitkScaleSkewVersor3DTransform_h
50 const std::vector< double> &skew,
51 const std::vector< double > &versor,
52 const std::vector< double > &translation=std::vector< double >(3, 0.0),
53 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0) );
56 const std::vector< double> &skew,
57 const std::vector< double > &axis,
double angle,
58 const std::vector< double > &translation=std::vector< double >(3, 0.0),
59 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0) );
64 std::string
GetName()
const {
return std::string (
"ScaleSkewVersor3DTransform"); }
67 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
68 std::vector<double> GetCenter( )
const;
72 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
73 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
74 std::vector<double> GetVersor()
const;
76 std::vector<double> GetTranslation( )
const;
77 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
79 std::vector<double> GetScale( )
const;
80 SITK_RETURN_SELF_TYPE_HEADER SetScale(
const std::vector<double> & scale );
82 std::vector<double> GetSkew( )
const;
83 SITK_RETURN_SELF_TYPE_HEADER SetSkew(
const std::vector<double> & skew );
86 SITK_RETURN_SELF_TYPE_HEADER Translate(
const std::vector<double> &offset);
87 std::vector<double> GetMatrix()
const;
91 virtual void SetPimpleTransform( PimpleTransformBase *pimpleTransform );
95 using Superclass::AddTransform;
99 template <
typename TransformType>
100 void InternalInitialization(TransformType *transform);
103 nsstd::function<void(const std::vector<double>&)> m_pfSetCenter;
104 nsstd::function<std::vector<double>()> m_pfGetCenter;
105 nsstd::function<void(const std::vector<double>&)> m_pfSetRotation1;
106 nsstd::function<void(const std::vector<double>&,double)> m_pfSetRotation2;
107 nsstd::function<std::vector<double>()> m_pfGetVersor;
108 nsstd::function<void(const std::vector<double>&)> m_pfSetTranslation;
109 nsstd::function<std::vector<double>()> m_pfGetTranslation;
110 nsstd::function<void(const std::vector<double>&)> m_pfSetScale;
111 nsstd::function<std::vector<double>()> m_pfGetScale;
112 nsstd::function<void(const std::vector<double>&)> m_pfSetSkew;
113 nsstd::function<std::vector<double>()> m_pfGetSkew;
114 nsstd::function<void(const std::vector<double> &)> m_pfTranslate;
115 nsstd::function<std::vector<double>()> m_pfGetMatrix;
121 #endif // sitkVersorTransform_h
#define SITKCommon_EXPORT