18 #ifndef sitkScaleTransform_h
19 #define sitkScaleTransform_h
45 const std::vector<double> &scale = std::vector<double>(3,1.0) );
52 std::string
GetName()
const override {
return std::string (
"ScaleTransform"); }
57 SITK_RETURN_SELF_TYPE_HEADER SetScale(
const std::vector<double> ¶ms);
58 std::vector<double> GetScale( )
const;
61 SITK_RETURN_SELF_TYPE_HEADER SetCenter(
const std::vector<double> ¶ms);
62 std::vector<double> GetCenter( )
const;
65 std::vector<double> GetMatrix()
const;
69 void SetPimpleTransform( PimpleTransformBase *pimpleTransform )
override;
77 template<
typename TransformType >
78 void operator() ( )
const
80 TransformType *t =
dynamic_cast<TransformType*
>(transform);
81 if (t && (
typeid(*t) ==
typeid(TransformType)))
90 template <
typename TransformType>
91 void InternalInitialization(TransformType *transform);
106 #endif // sitkScaleTransform_h