Hi Rachel,<div><br></div><div>IntersectWithLine works in 3D data coordinates, i.e the coordinate system of your 3D data set. Your silhouette lies on some plane in 3D space, and each pixel in the silhouette has a specific location on that plane. The IntersectWithLine method can be used to project that point back towards the 3D data.</div>
<div><br></div><div>But if your silhouette is in display coordinates, then vtkCellPicker will be a better solution than vtkCellLocator. The vtkCellPicker can convert directly from display coordinates to 3D data coordinates.</div>
<div><br></div><div> - David</div><div><br></div><div><br><div class="gmail_quote">On Wed, Dec 15, 2010 at 12:56 PM, Rachel <span dir="ltr"><<a href="mailto:aracha2010@gmail.com" target="_blank">aracha2010@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi David<br>
what do you mean by :center of the pixel.? is it display coordinates or<br>
pixel coordinates?<br>
Thanks<br>
<font color="#888888">--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/coordinate-transformation-between-polydata-and-image-data-tp3216899p3306856.html" target="_blank">http://vtk.1045678.n5.nabble.com/coordinate-transformation-between-polydata-and-image-data-tp3216899p3306856.html</a><br>
</font><div><div></div><div>Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>