[vtkusers] Intersecting a line with vtkImageData/vtkStructuredGrid cells
daviddoria at gmail.com
Mon Dec 30 12:52:51 EST 2013
I have a finite line and I want to know all of the cells in either a
vtkImageData or a vtkStructuredGrid that the line passes through.
What I'm looking for is exactly
vtkCellLocator::IntersectWithLine ( double , double , vtkPoints *,
vtkIdList * cellIds)
but when I try it I get an error:
"The locator class - vtkCellLocator does not yet support this
Does anyone know if there is a VTK-way (other than doing a line-box
intersection test on every cell) to determine which cells are intersected?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers