<div dir="ltr">I don't know of such a filter but it would be easy to put together. Certainly it would be another useful tool in the topological analysis toolbox.<div><br></div><div>Question: what is your definition of a neighbor? Connected at a vertex or along an edge? I suppose if we were to write such a filter the definition of a neighbor would be an optional parameter. I also suggest that this be a general filter so the same analysis could be applied to unstructured grids, etc. or to polygonal meshes with other than triangle cells.</div><div><br></div><div>Best,</div><div>W</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 22, 2016 at 6:51 AM, Lodron, Gerald <span dir="ltr"><<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">






<div>
<font face="Calibri" size="2"><span style="font-size:11pt">
<div> </div>
<div> </div>
<div>Hi</div>
<div> </div>
<div>I have a mesh (vtkPolyData with all triangles) where i want to visualize the number of neighbouring cells/triangles for each cell/triangle. (I later may want to threshold/filter it with that number to remove “noisy” triangles on border with low number
of neighbours)</div>
<div> </div>
<div>Is there a filter for that available?</div>
<div> </div>
<div>Best regards</div>
<div> </div>
<div><b>------------------------------------------------------------------------------------</b></div>
<div><b>Gerald Lodron</b></div>
<div><font size="1"><span style="font-size:7.5pt"> </span></font></div>
<div><font color="gray">Researcher of Machine Vision Applications Group</font></div>
<div><font color="gray">DIGITAL - Institute for Information and Communication Technologies</font></div>
<div> </div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">JOANNEUM RESEARCH Forschungsgesellschaft mbH</span></font></div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">Steyrergasse 17, 8010 Graz, AUSTRIA</span></font></div>
<div> </div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">phone:   <a href="tel:%2B43-316-876-1751" value="+433168761751" target="_blank">+43-316-876-1751</a>   </span></font></div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">general fax: <a href="tel:%2B43-316-876-1751" value="+433168761751" target="_blank">+43-316-876-1751</a></span></font></div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">web: <a href="http://www.joanneum.at/digital" target="_blank"><u>http://www.joanneum.at/digital</u></a></span></font></div>
<div><font size="1" color="gray"><span style="font-size:7.5pt">e-mail: <a href="mailto:gerald.lodron@joanneum.at" target="_blank"><font color="blue"><u>gerald.lodron@joanneum.at</u></font></a></span></font></div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
</div>

</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>William J. Schroeder, PhD<br>Kitware, Inc. - Building the World's Technical Computing Software<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>(518) 881-4902</div></div></div>
</div>