<div>Hi,</div>
<div> </div>
<div>The cell id is an Index.</div>
<div> </div>
<div>In ITK, you can use TransformPhysicalPointToIndex or TransformPhysicalPointToContinuosIndex which is a method belonging to the ITK Image.</div>
<div>See the example code embedded in <a href="http://www.itk.org/pipermail/insight-users/2002-October/001370.html">http://www.itk.org/pipermail/insight-users/2002-October/001370.html</a></div>
<div>(the orientation problem has been fixed)</div>
<div><br>John<br></div>
<div class="gmail_quote">On Tue, Nov 9, 2010 at 8:49 PM, Xiaopeng Yang <span dir="ltr"><<a href="mailto:yxp233@postech.ac.kr">yxp233@postech.ac.kr</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal">Dear ITK and VTK members,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">As we know that in the PickPixel example, the world position of a seed point was picked by vtkPropPicker. However, I want to pick the cell id of that point. Because, in ITK, cell id is used for setting seed point position. So do you know how to pick the cell id?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank you very much,</p>
<p class="MsoNormal">Yang</p></div></div><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>
<br></blockquote></div><br>