[vtkusers] Intersecting a line with vtkImageData/vtkStructuredGrid cells
bill.lorensen at gmail.com
Mon Dec 30 13:42:32 EST 2013
I don't see amything in VTK. ITK does have a LineIterator that will
visit each cell on a finite line.
On Mon, Dec 30, 2013 at 12:52 PM, David Doria <daviddoria at gmail.com> wrote:
> 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
> IntersectWithLine interface"
> 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?
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Follow this link to subscribe/unsubscribe:
Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers