18 #ifndef sitkVersorTransform_h
19 #define sitkVersorTransform_h
49 const std::vector< double> &fixedCenter =
50 std::vector< double >(3, 0.0) );
54 const std::vector< double> &fixedCenter =
55 std::vector< double >(3, 0.0) );
60 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
61 std::vector<double> GetCenter( )
const;
65 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
66 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
67 std::vector<double> GetVersor()
const;
70 std::vector<double> GetMatrix()
const;
71 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
75 virtual void SetPimpleTransform( PimpleTransformBase *pimpleTransform );
79 using Superclass::AddTransform;
83 template <
typename TransformType>
84 void InternalInitialization(TransformType *transform);
87 nsstd::function<void(const std::vector<double>&)> m_pfSetCenter;
88 nsstd::function<std::vector<double>()> m_pfGetCenter;
89 nsstd::function<void(const std::vector<double>&)> m_pfSetRotation1;
90 nsstd::function<void(const std::vector<double>&,double)> m_pfSetRotation2;
91 nsstd::function<std::vector<double>()> m_pfGetVersor;
92 nsstd::function<std::vector<double>()> m_pfGetMatrix;
93 nsstd::function<void(const std::vector<double>&, double)> m_pfSetMatrix;
98 #endif // sitkVersorTransform_h
#define SITKCommon_EXPORT