[vtkusers] Intersecting a line with vtkImageData/vtkStructuredGrid cells
daviddoria at gmail.com
Mon Dec 30 15:53:24 EST 2013
On Mon, Dec 30, 2013 at 1:42 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> I don't see amything in VTK. ITK does have a LineIterator that will
> visit each cell on a finite line.
I put my quick solution here if anyone else is interested in something like
this in the future:
As a bonus, it shows a nice way to visualize the cells of an image, and how
to deletes the cells that were hit by the line.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers