Currently the registration code (e.g. mapping, registration) and views currently uses own defined propertes (see mitkMatchPointPropertyTags.h) to identify relations (e.g. by Prop_MappingInputData and Prop_UID).
In the meantime we have PropertyRelations for such things. So the code base should be reworked.
- Introduce a RegistrationResultRelationRule and a MappingResultRelationRule based on SourceImageRelationRule.
- Rework the code base to use this new classes and deprecate the old definitions and helper functions.
As an example one can have a look on ModelFitResultRelationRule and its integration. ModelFit code base had the same issue like our registration code based and was also reworked.