Skip to content

ENH: Update qMRMLThreeDView to retrieve camera node from displayable manager#7316

Merged
jcfr merged 2 commits intoSlicer:mainfrom
jcfr:qMRMLThreeDView-simplify-cameraNode-setting
Oct 30, 2023
Merged

ENH: Update qMRMLThreeDView to retrieve camera node from displayable manager#7316
jcfr merged 2 commits intoSlicer:mainfrom
jcfr:qMRMLThreeDView-simplify-cameraNode-setting

Conversation

@jcfr
Copy link
Member

@jcfr jcfr commented Oct 30, 2023

No description provided.

jcfr added 2 commits October 30, 2023 09:52
Follow-up 1144f81 (ENH: Refactor visibility of displayable nodes in hierarchies)
where the vtkMRMLThreeDViewInteractorStyle class friendship was introduced
but not used. It turns out the displayable manager base class provides
the RequestRender() function.
Copy link
Contributor

@lassoan lassoan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me, but it would be even better to deprecate these methods, They should not be at this level. Why are they here (in the widget) instead of logic classes? If they are not used anywhere (Slicer core, CTK,..) then we should deprecate them and remove in a few years.

@jcfr jcfr merged commit 9e24f5b into Slicer:main Oct 30, 2023
@jcfr jcfr deleted the qMRMLThreeDView-simplify-cameraNode-setting branch October 30, 2023 19:50
@jcfr jcfr added the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Nov 5, 2023
@jcfr jcfr removed the backport:5.x Identify pull request expected to be backported to the current 5.x release branch. label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants