Script bindings for instantiating different types of Metrics
It seems that some of the useful Metric types cannot be instantiated in scripts through the use of MetricFactory class. E.g. the following (in Python) doesn't work, rendering Transform3DMetric unusable:
metric = sdurw.MetricFactory_makeTransform3DMetric(1, 1)
Attached is a patch file with the proposed changes in order to make these (Infinity, Manhattan, Rotation3D and Transform3D metrics) work. I was unfortunately unable to make the Mahalanobis metric work. metrics_patch.diff