18 #ifndef sitkTranslationTransform_h
19 #define sitkTranslationTransform_h
42 const std::vector<double> & offset = std::vector<double>(3, 0.0));
55 return std::string(
"TranslationTransform");
58 SITK_RETURN_SELF_TYPE_HEADER
59 SetOffset(
const std::vector<double> & params);
65 SetPimpleTransform(std::unique_ptr<PimpleTransformBase> && pimpleTransform)
override;
72 template <
typename TransformType>
76 TransformType * t =
dynamic_cast<TransformType *
>(transform);
77 if (t && (
typeid(*t) ==
typeid(TransformType)))
87 template <
typename TransformType>
89 InternalInitialization(TransformType * transform);
97 #endif // sitkTranslationTransform_h