-
Notifications
You must be signed in to change notification settings - Fork 521
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
Curve title is not visible in 3D if all control points are hidden #7665
Comments
@Sunderlandkyl could you help with this?
This is needed for SlicerHeart, too, for example in the Csaba's PDA vessel quantification module where all the vessel segments are labelled. |
Is the issue only when loading a scene, or is it an issue that also comes up when using Slicer? |
If the control points are visible but they get hidden then the control point visibility output is not updated anymore, so the property label is stuck at "always displayed" state. If the control points were never visible (because the curve was loaded from a file) then the control point visibility is missing, so all control points are assumed to be hidden, so the property label is stuck at "always hidden" state. Neither of these are good. The main question is how to determine efficiently that the curve is visible, so that we don't clutter the scene with property labels of occluded curves. |
Summary
A curve's properties label is not displayed if none of the curve points are visible in the current 3D view. However, someone may want to show just a curve without any control points (e.g., because it is a curve with many control points and the control points would clutter the view).
https://discourse.slicer.org/t/slicer-3d-view-not-displaying-labels-of-markup-curves-properly/34364/3
Steps to reproduce
Workaround
Show one control point or force display of the property label by enabling occluded visibility.
Environment
The text was updated successfully, but these errors were encountered: