<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi<br>
      I'm using in a vtkPolyData after TriangleFilter and I can get the
      list of all CellIds intersected from my rays.<br>
      I think it should work on vtkStructuredGrid too, but I'm not sure
      on vtkImageData<br>
      <br>
      <br>
      Marco<br>
      On 12/30/2013 12:52 PM, David Doria wrote:<br>
    </div>
    <blockquote
cite="mid:CABDpjTm7mVWhrikFKKNtnrbgFOy8ap-7oq1T07cjLrK5ahUG3w@mail.gmail.com"
      type="cite">
      <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>
            &nbsp;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>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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>