VTK Contouring, combining perpendicular polygons
HarryG <[email protected]> Fri, 1 Feb 2019 13:14:12 -0700 (MST)
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I’m new to VTK, am trying to add contouring tools to an in-house radiation oncology treatment planning system. I have been successful in adding the ability to contour on axial slices (z planes), turning my drawn polygons into masks with vtkLinearExtrusionFilter and then vtkPolyDataToImageStencil, but can't figure out how contours from perpendicular axes should be combined. The user should be able to contour on all three planes simultaneously with any drawn polygon being immediately incorporated into the overall structure. I can create polygons like on the axial plane, but can’t figure out how these perpendicular polygons should be integrated. My thinking is that I need to get a list of all voxels within the polygons on these perpendicular planes, and then add all the voxels from all the planes and recreate a contour from this list – is that even a correct assumption? There seem to be quite a few posts dealing with the concept of creating 3D surfaces from 2D contours, but none that I could find on combining contours from multiple planes. Is there something obvious I am missing? Thank you, Harry -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html _______________________________________________ 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