enh(ui): add the possibility to only allow moving landmarks from a given group
Description
In some applications based on Sight, there are two groups of landmarks to mark two different organs. There is one button for each group in order to add new landmarks in that group. However, when adding landmark in one group, it is still possible to move landmarks from the other group. We would like that when adding a landmark from one group, to only allow to move the landmarks belonging to that group, and not any other.
Proposal
Optional section to give some functional or technical hints
Functional specifications
Add a new config modify
which may have two value: all
, the default, which allows to move any landmarks, ignoring the current group, or onlyCurrent
, which allows to move only the landmarks belonging to the current group.
Technical specifications
When configured with modify="onlyCurrent"
, the adaptor will only pick the landmarks whose group is the current group.
Test plan
Manual testing in SightViewer.