Dear vtk users,<div><br></div><div>I'm trying to rasterize a closed surface. </div><div>To do that i'm using vtkPolyDataToImageStencil and the code is working pretty good. </div><div>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.</div>
<div>E.g. 1 if the voxel if fully covered by the shape, 0.5 if it is only half covered. </div><div><br></div><div>Roughly speaking i would need the image, before it is binaryzed according to the value of the parameter set in <span class="Apple-style-span" style="font-family: Monaco; font-size: 11px; ">SetTolerance( );</span>. </div>
<div><br></div><div>Thanks </div><div><br></div><div>Niccolo' Camarlinghi</div>