Page MenuHomePhabricator

Clipping Plane Surface model won't be created from segmentation when using interpolation
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Load Image
  • Create segmentation using interpolation mode
  • Create Clipping plane and use option "...with surface model"
  • no surface model will be created

However, if you do the same without using interpolation mode, a surface model will be created.

The problem is that you cannot ensure that the interpolation-surface model corresponds to the segmentation, e.g. if you add/subtract/... parts of the segmentation after interpolation mode.

Event Timeline

ATM the code checks if the reference node has a surface as a child node.

Expand the check and compare the names. If a surface with the name exists, don't create a new one and make it visible if it is not.
In all other cases generate a new surface.

It is still not the best solution, because the surface (with the same name) can be outdated.

User metzger has pushed new remote branch:

bug-19649-ImproveCreateSurfaceByAddingANewClippingPlane

[44fc8a]: Merge branch 'bug-19649-ImproveCreateSurfaceByAddingANewClippingPlane'

Merged commits:

2016-07-13 15:31:39 Jasmin Metzger [4d3bd2]
Add check for the name of the surface.