18 #ifndef sitkSimilarity2DTransform_h
19 #define sitkSimilarity2DTransform_h
46 const std::vector<double> & translation = std::vector<double>(2, 0.0),
47 const std::vector<double> & fixedCenter = std::vector<double>(2, 0.0));
60 return std::string(
"Similarity2DTransform");
64 SITK_RETURN_SELF_TYPE_HEADER
65 SetCenter(
const std::vector<double> & params);
70 SITK_RETURN_SELF_TYPE_HEADER
71 SetAngle(
double angle);
76 GetTranslation()
const;
77 SITK_RETURN_SELF_TYPE_HEADER
78 SetTranslation(
const std::vector<double> & translation);
80 SITK_RETURN_SELF_TYPE_HEADER
81 SetScale(
double scale);
88 SITK_RETURN_SELF_TYPE_HEADER
89 SetMatrix(
const std::vector<double> & matrix,
double tolerance = 1e-10);
93 SetPimpleTransform(std::unique_ptr<PimpleTransformBase> && pimpleTransform)
override;
99 template <
typename TransformType>
101 InternalInitialization(TransformType * transform);
117 #endif // sitkSimilarity2DTransform_h