[vtkusers] Filter similar to vtkPolyDataToImageStencil?

niccolo camarlinghi niccolo.camarlinghi at gmail.com
Thu Sep 23 08:37:01 EDT 2010


Dear vtk users,

I'm trying to rasterize a closed surface.
To do that i'm using  vtkPolyDataToImageStencil and the code is working
pretty good.
I was wondering if there is another filter that returns a float image with
the percentage of the voxel covered by the shape i'm trying to rasterize.
E.g. 1 if the voxel if fully covered by the shape, 0.5 if it is only half
covered.

Roughly speaking i would need the image, before it is binaryzed according to
the value of the parameter set in SetTolerance( );.

Thanks

Niccolo' Camarlinghi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100923/30b6815d/attachment.htm>


More information about the vtkusers mailing list