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 std::string
GetName()
const override {
return std::string (
"VersorTransform"); }
66 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
67 std::vector<double> GetCenter( )
const;
71 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
72 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
73 std::vector<double> GetVersor()
const;
76 std::vector<double> GetMatrix()
const;
77 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
81 void SetPimpleTransform( PimpleTransformBase *pimpleTransform )
override;
87 template <
typename TransformType>
88 void InternalInitialization(TransformType *transform);
102 #endif // sitkVersorTransform_h