Hi,<br><br>try to call<br><br>cutter_output-&gt;buildCells();<br><br>and/or<br><br>cutter_output-&gt;buildLinks();<br><br>before checking for the cells.<br><br>Cheers,<br>cp<br><br><div class="gmail_quote">On Tue, May 29, 2012 at 5:09 PM, soheilghafurian <span dir="ltr">&lt;<a href="mailto:soheilghafurian@yahoo.com" target="_blank">soheilghafurian@yahoo.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have used vtkCutter to cut a polydata by a plane and I have save the output<br>
contour as polydata. Now, I want to get the neighbor points to a point on<br>
it, but I don&#39;t know how to do it.<br>
<br>
I usually use polydata-&gt;GetPointCells() and then polydata-&gt;GetCellPoints(),<br>
but the problem is the contour doesn&#39;t seem to have any cells! does anyone<br>
know how I could get the neighbor points?<br>
<br>
Thanks a lot<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-get-neighbor-points-in-a-polydata-without-cells-tp5713461.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-get-neighbor-points-in-a-polydata-without-cells-tp5713461.html</a><br>


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>
</blockquote></div><br><br clear="all"><br>-- <br>________________________________________________________<br><br>M.Sc. Chavdar Papazov<br>Technische Universtät München, Robotics and Embedded Systems<br><br>Home page: <a href="http://www6.in.tum.de/Main/Papazov" target="_blank">http://www6.in.tum.de/Main/Papazov</a><br>

________________________________________________________<br><br>