[vtkusers] voxelize vtkpolydata

Nithiananthan, Sajendra Sajendra.Nithiananthan at rmp.uhn.on.ca
Thu Aug 23 10:11:02 EDT 2007


> i want to voxelize a Mesh into a binary volume. This Mesh is stored in a
vtkPolyData.  
> But i don't know how to solve this problem.

Achim,

vtkImplicitModeller, VoxelModeller, SurfaceReconstructionFilter, and
PolyDataToImageStencil can all turn vtkPolyData into a vtkImage:  
http://vtk.org/doc/nightly/html/classvtkImplicitModeller.html
http://vtk.org/doc/nightly/html/classvtkPolyDataToImageStencil.html
http://vtk.org/doc/nightly/html/classvtkSurfaceReconstructionFilter.html
http://vtk.org/doc/nightly/html/classvtkVoxelModeller.html


How successful each one will be depends on your data and particular
problem...

-SN


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Opinions, conclusions or other information contained in this e-mail may not be that of the organization.



More information about the vtkusers mailing list