18 #ifndef sitkSimilarity3DTransform_h
19 #define sitkSimilarity3DTransform_h
49 const std::vector<double> & versor,
50 const std::vector<double> & translation = std::vector<double>(3, 0.0),
51 const std::vector<double> & fixedCenter = std::vector<double>(3, 0.0));
54 const std::vector<double> & axis,
56 const std::vector<double> & translation = std::vector<double>(3, 0.0),
57 const std::vector<double> & fixedCenter = std::vector<double>(3, 0.0));
66 return std::string(
"Similarity3DTransform");
70 SITK_RETURN_SELF_TYPE_HEADER
71 SetCenter(
const std::vector<double> & params);
77 SITK_RETURN_SELF_TYPE_HEADER
78 SetRotation(
const std::vector<double> & versor);
79 SITK_RETURN_SELF_TYPE_HEADER
80 SetRotation(
const std::vector<double> & axis,
double angle);
84 SITK_RETURN_SELF_TYPE_HEADER
85 SetScale(
double scale);
90 GetTranslation()
const;
91 SITK_RETURN_SELF_TYPE_HEADER
92 SetTranslation(
const std::vector<double> & translation);
96 SITK_RETURN_SELF_TYPE_HEADER
97 Translate(
const std::vector<double> & offset);
100 SITK_RETURN_SELF_TYPE_HEADER
101 SetMatrix(
const std::vector<double> & matrix,
double tolerance = 1e-10);
105 SetPimpleTransform(std::unique_ptr<PimpleTransformBase> && pimpleTransform)
override;
111 template <
typename TransformType>
113 InternalInitialization(TransformType * transform);
131 #endif // sitkSimilarity3DTransform_h