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

David Gobbi david.gobbi at gmail.com
Thu Jan 10 17:08:33 EST 2019

On Thu, Jan 10, 2019 at 12:13 PM The Merper <msmerps at gmail.com> wrote:

>   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.

How are the spheres defined?  Do you already have them as vtkPolyData
objects, or do you just have a list of "center and radius" values to
describe the spheres?

When you say "visualize in 2D slices" do you mean that you are already
visualizing slices of something (e.g. of an image) and you want to display
the sphere cuts as an overlay on the image?  For your application, does it
matter whether the sphere cuts are displayed as voxels (i.e. a
vtkImageData) vs polygons?

Also, for context, what is the general purpose of your application?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190110/3a85f999/attachment.html>

More information about the vtkusers mailing list