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 std::string
GetName()
const override {
return std::string (
"VersorRigid3DTransform"); }
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;
75 std::vector<double> GetTranslation( )
const;
76 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
79 SITK_RETURN_SELF_TYPE_HEADER Translate(
const std::vector<double> &offset);
80 std::vector<double> GetMatrix()
const;
81 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
85 void SetPimpleTransform( PimpleTransformBase *pimpleTransform )
override;
91 template <
typename TransformType>
92 void InternalInitialization(TransformType *transform);
110 #endif // sitkVersorTransform_h