Re: filling in a sphere's intersection with a plane

David Gobbi <[email protected]> Thu, 10 Jan 2019 15:08:33 -0700
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CANwS1=Hcor2wf5s9GnHJJnFFn0oyB6fnJMrUcqa39cPD=BSvCw@mail.gmail.com>
On Thu, Jan 10, 2019 at 12:13 PM The Merper <[email protected]> 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?

Cheers,
  David

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers