Actual behavior:
Using the right-click context of a segmentation node to perform the "Create Smoothed Polygon Model"-action, the MITK log outputs the following error message:
core.mod.core.loggingadapter ERROR: ERROR: In ...\bin\ep\src\VTK\Filters\Core\vtkSmoothPolyDataFilter.cxx, line 331
vtkSmoothPolyDataFilter (0000000012440790): No data to smooth!
This happens in the 'mitkManualSegmentationToSurfaceFilter.cpp' inside the 'void mitk::ManualSegmentationToSurfaceFilter::GenerateData()' function.
The smoothed contour is created as a surface node but does not contain any data.
Expected behavior:
Similar to the normal polygon model ("Create Polygon Model"-action), the renderer should draw a fine (e.g.) red contour around the selected segmentation
To reproduce:
- load an image
- open the segmentation plugin
- create a new segmentation
- draw a segmentation mask
- right click on the newly created segmentation node and choose "Create Smoothed Polygon Model"
- notice that the surface node is added to the segmentation node as a child node but no surface / contour is rendered