[vtkusers] filling in a sphere's intersection with a plane

The Merper msmerps at gmail.com
Thu Jan 10 14:13:17 EST 2019

Hi all,
  I have a set of spheres in a volume that I visualize in 2D slices. When
the plane of a 2D slice intersects a sphere, I want the interior of the
sphere to be filled. It appears that there three different ways to do this:

1) Use vtkContourTriangulator as recommended here:
with this example as a basis:

2) Use PolyDataToImageData:

3) Use PolyDataContourToImageData:

I've tried Option 1 without success.  Did I do something wrong or should I
try one of the other options.
  any wisdom would be helpful,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190110/d3606f86/attachment.html>

More information about the vtkusers mailing list