Slicer / Slicer

Multi-platform, free open source software for visualization and image computing.
https://www.slicer.org
Other
1.61k stars 539 forks source link

Support for 3D Clipping of segmentation representation #7494

Open jcfr opened 8 months ago

jcfr commented 8 months ago

Is your feature request related to a problem? Please describe.

In the context of 3D visualization where segmentation are represented as surfaces, we often need to be able to also visualize the underlying structures.

Depending on the workflow and application, there are a few approaches to support this:

  1. Adjust opacity of the surface
  2. Convert the segment to a model, hide the segment (or segmentation), and enable 3D clipping^1

In the context of workflow where clipping is preferred, this requires multiple steps that can either be done manually or programmatically.

Issue created following offline discussion with @sjh26

Describe the solution you'd like

To more easily leverage the model 3D clipping capabilities, there are few possible path forward:

Describe alternatives you've considered

Additional context

lassoan commented 8 months ago

We should add slice clipping to segmentations. We haven't done it mostly because the current implementation is not very nice with the hardcoded 3 slice views. If we touch it then adding a capping option would be useful, too.

Adding model nodes could cause so much user confusion. If somebody needs it then it could be added by a couple of lines of a Python script.