[vtkusers] Solid Voxelization with VTK
David Gobbi
david.gobbi at gmail.com
Mon May 28 19:13:01 EDT 2018
Hi Berti,
If its a triangulated surface that you want to fill with voxels, use
vtkPolyDataToImageStencil:
https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/
PolyDataToImageData/
If its a mesh of 3D elements and you want to sample the elements to create
voxels, try vtkResampleToImage.
- David
On Mon, May 28, 2018 at 4:41 PM, Berti Krüger <berti_krueger at hotmail.com>
wrote:
> Hello Everyone.
>
> For my Project i have to voxelize a 3D-Triangle-Mesh. I already found the
> vtkVoxelModeller which, while somewhat slow (only around 200 Triangles per
> second), works, but only voxelizes the outer shell where the mesh boundary
> triangles are. The inner part of the mesh stays hollow.
>
> Is there some way to get solid voxelization of 3D-Triangle-Meshes out of
> the
> box with VTK ?
>
>
> Thank you very much in advance,
>
> Berti
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180528/a8caabef/attachment.html>
More information about the vtkusers
mailing list