WRAP_CLASS("itk::CenteredSimilarity2DTransform") SET(MANAGED_TYPE_TEMPLATE ${MANAGED_ITK_SOURCE_COMMON_PATH}/itkManagedMatrixOffsetTransform_TYPE.cxx.in) SET(MANAGED_WRAPPER_TEMPLATE ${MANAGED_ITK_SOURCE_COMMON_PATH}/itkManagedMatrixOffsetTransform_WRAPPER.cxx.in) WRAP_TEMPLATE("${ITKM_D}2" "${ITKT_D}") BEGIN_MANAGED_METHOD("Translate") SET(MANAGED_METHOD_SUMMARY "This method modifies self to include a translation of the origin. The translation is precomposed with self if pre is true, and postcomposed otherwise.") SET(MANAGED_METHOD_RETURN_TYPE "void") SET(MANAGED_METHOD_PARAMS "itkVector^ offset, bool pre") SET(MANAGED_METHOD_TYPE_BODY "m_PointerToNative->Translate( itk::ManagedTypes::ToNativeVector(offset), pre );") SET(MANAGED_METHOD_WRAPPER_BODY "iInstance->Translate( offset, pre );") END_MANAGED_METHOD() BEGIN_MANAGED_METHOD("Translate") SET(MANAGED_METHOD_SUMMARY "This method modifies self to include a translation of the origin. The translation is postcomposed.") SET(MANAGED_METHOD_RETURN_TYPE "void") SET(MANAGED_METHOD_PARAMS "itkVector^ offset") SET(MANAGED_METHOD_TYPE_BODY "this->Translate( offset, false );") SET(MANAGED_METHOD_WRAPPER_BODY "iInstance->Translate( offset, false );") END_MANAGED_METHOD() BEGIN_MANAGED_PROPERTY("Angle" GETSET) SET(MANAGED_PROPERTY_SUMMARY "Get/set the angle of rotation in radians.") SET(MANAGED_PROPERTY_TYPE "double") SET(MANAGED_PROPERTY_GET_BODY "return m_PointerToNative->GetAngle();") SET(MANAGED_PROPERTY_SET_BODY "m_PointerToNative->SetAngle( value );") END_MANAGED_PROPERTY() BEGIN_MANAGED_PROPERTY("Scale" GETSET) SET(MANAGED_PROPERTY_SUMMARY "Get/set the angle part of the transform.") SET(MANAGED_PROPERTY_TYPE "double") SET(MANAGED_PROPERTY_GET_BODY "return m_PointerToNative->GetScale();") SET(MANAGED_PROPERTY_SET_BODY "m_PointerToNative->SetScale( value );") END_MANAGED_PROPERTY() END_WRAP_CLASS()