forked from Slicer/Slicer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Translation/rotation of unlocked points in a list
This commit adds a new function that allows unlocked markup points to move using the markup interaction handles. Currently, the interaction handles are disabled when any point is locked. This commit also fixes a bug where any points with an undefined position status are reset on using a markup's interaction handles. To support the new functionality, the interaction handle center of rotation is updated to ignore locked and undefined points. This commit is a product of the PW 39 2023 project: https://projectweek.na-mic.org/PW39_2023_Montreal/Projects/TranslationRotationOfSelectPointsInAList/
- Loading branch information
Showing
3 changed files
with
85 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters