Hi all,<div>I have a non-manifold 2D polydata object (say a square with a line inside it) that I would like to convert into an image data object. Is there a way to know what cells of the image data a line from the polydata passes through? I.e. those cells that are cut by a line might be coloured black, while the rest are white. I have looked at the vtkPolyDataToImageStencil filter, but this only appears to work for closed polygons (like here: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataContourToImageData">http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataContourToImageData</a>)?</div>
<div>Thanks!</div><div>Brett.</div>