Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Remove unused Annotations module components #6268

Merged
merged 5 commits into from Mar 16, 2022

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Mar 15, 2022

This commit removes unused Annotations module MRML nodes, MRML displayable managers (with associated widgets & representations).

While looking at fixing vtkMRMLAnnotationLinesNodeTest1 and vtkMRMLAnnotationLinesStorageNodeTest1 tests (which will likely be done by either removing or updating them), I realized a lot of code is not being irrelevant.

@jcfr jcfr force-pushed the remove-unused-annotation-module-features branch from c072b5a to c68f182 Compare Mar 15, 2022
jcfr added 5 commits Mar 16, 2022
This commit removes unused displayable managers and associated
widgets & representations.

The text and bidimensional disablaybale managers were disabled
in 4809075 (ENH: Annotation: Cancel placement now uses events
on the interaction Node and works properly again.)
This commit removes support for te Bidimensional node (class vtkMRMLAnnotationBidimensionalNode).
The corresponding functionality has not been available to the user
since 2011.

The support for placing a new Bidimensional annotation has never
been enabled in the vtkSlicerAnnotationModuleLogic class.

See 0a97361 (BUG: removing non RSNA target annotations from the GUI.)
This commit removes support for Sticky node (class vtkMRMLAnnotationStickyNode).
The corresponding functionality has never been available to the user since
it was originally introduced in 2011.

See 38cb7b6 (ENH: add to the list of annotation ids that can be active,
with icons. Listen for the control point modified event)
This commit removes support for Spline node (class vtkMRMLAnnotationSplineNode).
The corresponding functionality has never been available to the user since
it was originally introduced in 2011.

The support for placing a new Spline has never been enabled in the
vtkSlicerAnnotationModuleLogic class.

See 38cb7b6 (ENH: add to the list of annotation ids that can be active,
with icons. Listen for the control point modified event)
This commit removes support for Angle node (class vtkMRMLAnnotationAngleNode).
The corresponding functionality has never been available to the user since
it was originally introduced in 2011.

The support for placing a new Angle has never been enabled in the
vtkSlicerAnnotationModuleLogic class.

See 38cb7b6 (ENH: add to the list of annotation ids that can be active,
with icons. Listen for the control point modified event)
@jcfr jcfr force-pushed the remove-unused-annotation-module-features branch from c68f182 to 93c7415 Compare Mar 16, 2022
@jcfr jcfr merged commit dbea568 into Slicer:master Mar 16, 2022
@jcfr jcfr deleted the remove-unused-annotation-module-features branch Mar 16, 2022
@lassoan
Copy link
Contributor

@lassoan lassoan commented Mar 16, 2022

Thank you, the changes looked good. These features were never exposed to end users so it was safe to remove them.

@jcfr
Copy link
Member Author

@jcfr jcfr commented Mar 16, 2022

These features were never exposed to end users so it was safe to remove them.

Thanks for the follow up comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants