<div dir="ltr">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.<br clear="all"><div><div><br>What I'm looking for is exactly <br><br>
vtkCellLocator::IntersectWithLine ( double [3], double [3], vtkPoints *, vtkIdList * cellIds)<br><br></div><div>but when I try it I get an error:<br><br>"The locator class - vtkCellLocator does not yet support this IntersectWithLine interface"<br>
<br></div><div></div><div>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?<br><br></div><div>Thanks,<br><br></div><div>David</div>
</div></div>