18 #ifndef sitkVersorTransform_h
19 #define sitkVersorTransform_h
52 const std::vector< double> &fixedCenter =
53 std::vector< double >(3, 0.0) );
57 const std::vector< double> &fixedCenter =
58 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;
73 std::vector<double> GetMatrix()
const;
74 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
78 virtual void SetPimpleTransform( PimpleTransformBase *pimpleTransform );
82 using Superclass::AddTransform;
86 template <
typename TransformType>
87 void InternalInitialization(TransformType *transform);
90 nsstd::function<void(const std::vector<double>&)> m_pfSetCenter;
91 nsstd::function<std::vector<double>()> m_pfGetCenter;
92 nsstd::function<void(const std::vector<double>&)> m_pfSetRotation1;
93 nsstd::function<void(const std::vector<double>&,double)> m_pfSetRotation2;
94 nsstd::function<std::vector<double>()> m_pfGetVersor;
95 nsstd::function<std::vector<double>()> m_pfGetMatrix;
96 nsstd::function<void(const std::vector<double>&, double)> m_pfSetMatrix;
101 #endif // sitkVersorTransform_h
#define SITKCommon_EXPORT