filling in a sphere's intersection with a plane
The Merper <[email protected]> Thu, 10 Jan 2019 14:13:17 -0500
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CALbMNiwJdCTYvvrMvPUu8hiXL0R1KfhvFHSReHHVNNazqXUhxg@mail.gmail.com> |
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:
https://vtk.org/pipermail/vtkusers/2015-May/090826.html
with this example as a basis:
https://vtk.org/Wiki/VTK/Examples/Cxx/Modelling/ContourTriangulator
2) Use PolyDataToImageData:
https://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData
3) Use PolyDataContourToImageData:
https://www.paraview.org/Wiki/VTK/Examples/Cxx/PolyData/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,
-Merps
_______________________________________________
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