Hi,
What is the best way to cut a polydata with a sphere and fill it?
I have already tried lots of different approaches:
-
vtkBooleanOperationPolydataFilter (with SetOpperationtoDifference) - this seems to achieve the desired result but it fails randomly in some cases
-
vtkClipPolydata with the implicit function of the sphere and fill it using FillHoles - The cut is not smooth
-
Find the points of the polydata inside of the sphere using SelectEnclosedPoints and fill them with vtkExtractSurface - also the result is not smooth enough
Do you have some suggestions?