18 #ifndef sitkVersorRigid3DTransform_h
19 #define sitkVersorRigid3DTransform_h
53 const std::vector< double > &translation=std::vector< double >(3, 0.0),
54 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0));
57 const std::vector< double > &translation=std::vector< double >(3, 0.0),
58 const std::vector< double> &fixedCenter=std::vector< double >(3, 0.0) );
63 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
64 std::vector<double> GetCenter( )
const;
68 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
69 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
70 std::vector<double> GetVersor()
const;
72 std::vector<double> GetTranslation( )
const;
73 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
76 SITK_RETURN_SELF_TYPE_HEADER Translate(
const std::vector<double> &offset);
77 std::vector<double> GetMatrix()
const;
78 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
82 virtual void SetPimpleTransform( PimpleTransformBase *pimpleTransform );
86 using Superclass::AddTransform;
90 template <
typename TransformType>
91 void InternalInitialization(TransformType *transform);
94 nsstd::function<void(const std::vector<double>&)> m_pfSetCenter;
95 nsstd::function<std::vector<double>()> m_pfGetCenter;
96 nsstd::function<void(const std::vector<double>&)> m_pfSetRotation1;
97 nsstd::function<void(const std::vector<double>&,double)> m_pfSetRotation2;
98 nsstd::function<std::vector<double>()> m_pfGetVersor;
99 nsstd::function<void(const std::vector<double>&)> m_pfSetTranslation;
100 nsstd::function<std::vector<double>()> m_pfGetTranslation;
101 nsstd::function<void(const std::vector<double> &)> m_pfTranslate;
102 nsstd::function<std::vector<double>()> m_pfGetMatrix;
103 nsstd::function<void(const std::vector<double>&, double)> m_pfSetMatrix;
109 #endif // sitkVersorTransform_h
#define SITKCommon_EXPORT