18 #ifndef sitkSimilarity2DTransform_h
19 #define sitkSimilarity2DTransform_h
49 const std::vector<double> &translation = std::vector<double>(2,0.0),
50 const std::vector< double > &fixedCenter = std::vector<double>(2,0.0) );
59 std::string
GetName()
const override {
return std::string (
"Similarity2DTransform"); }
62 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
63 std::vector<double> GetCenter( )
const;
66 SITK_RETURN_SELF_TYPE_HEADER SetAngle (
double angle);
67 double GetAngle ()
const;
69 std::vector<double> GetTranslation( )
const;
70 SITK_RETURN_SELF_TYPE_HEADER SetTranslation(
const std::vector<double>& translation);
72 SITK_RETURN_SELF_TYPE_HEADER SetScale(
double scale);
73 double GetScale()
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);
105 #endif // sitkSimilarity2DTransform_h