18 #ifndef sitkScaleTransform_h
19 #define sitkScaleTransform_h
41 explicit ScaleTransform(
unsigned int dimensions,
const std::vector<double> & scale = std::vector<double>(3, 1.0));
51 return std::string(
"ScaleTransform");
58 SITK_RETURN_SELF_TYPE_HEADER
59 SetScale(
const std::vector<double> & params);
64 SITK_RETURN_SELF_TYPE_HEADER
65 SetCenter(
const std::vector<double> & params);
75 SetPimpleTransform(std::unique_ptr<PimpleTransformBase> && pimpleTransform)
override;
82 template <
typename TransformType>
86 TransformType * t =
dynamic_cast<TransformType *
>(transform);
87 if (t && (
typeid(*t) ==
typeid(TransformType)))
97 template <
typename TransformType>
99 InternalInitialization(TransformType * transform);
111 #endif // sitkScaleTransform_h