18 #ifndef sitkTranslationTransform_h
19 #define sitkTranslationTransform_h
45 const std::vector<double> &offset = std::vector<double>(3,0.0) );
54 std::string
GetName()
const override {
return std::string (
"TranslationTransform"); }
56 SITK_RETURN_SELF_TYPE_HEADER SetOffset(
const std::vector<double> ¶ms);
57 std::vector<double> GetOffset( )
const;
61 void SetPimpleTransform( PimpleTransformBase *pimpleTransform )
override;
69 template<
typename TransformType >
70 void operator() ( )
const
72 TransformType *t =
dynamic_cast<TransformType*
>(transform);
73 if (t && (
typeid(*t) ==
typeid(TransformType)))
82 template <
typename TransformType>
83 void InternalInitialization(TransformType *transform);
93 #endif // sitkTranslationTransform_h