18 #ifndef sitkSimilarity3DTransform_h
19 #define sitkSimilarity3DTransform_h
52 const std::vector< double > &translation=std::vector< double >(3, 0.0),
53 const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0) );
56 const std::vector< double > &translation=std::vector< double >(3, 0.0),
57 const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0) );
62 std::string
GetName()
const override {
return std::string (
"Similarity3DTransform"); }
65 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
66 std::vector<double> GetCenter( )
const;
70 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &versor);
71 SITK_RETURN_SELF_TYPE_HEADER SetRotation(
const std::vector<double> &axis,
double angle);
72 std::vector<double> GetVersor()
const;
74 SITK_RETURN_SELF_TYPE_HEADER SetScale(
double scale);
75 double GetScale()
const;
77 std::vector<double> GetTranslation( )
const;
78 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
82 SITK_RETURN_SELF_TYPE_HEADER Translate(
const std::vector<double> &offset);
83 std::vector<double> GetMatrix()
const;
84 SITK_RETURN_SELF_TYPE_HEADER SetMatrix(
const std::vector<double> &matrix,
double tolerance = 1e-10);
88 void SetPimpleTransform( PimpleTransformBase *pimpleTransform )
override;
94 template <
typename TransformType>
95 void InternalInitialization(TransformType *transform);
114 #endif // sitkSimilarity3DTransform_h