Skip to content

ENH: Use new filters for isosurface extraction and plane cutting

Optimized versions of isosurface extraction and plane cutting filters have been introduced a while ago in VTK, but Slicer kept using the existing filters. Filters updated in this commit:

  • vtkDiscreteMarchingCubes => vtkDiscreteFlyingEdges3D
  • vtkCutter => vtkPlaneCutter

With default SMP backend (Sequential), performance may be slightly improved. With TBB backend, computation time for complex surfaces (e.g., obtained by thresholding a noisy grayscale volume) is decreased by 30-500%.

Merge request reports