<div dir="ltr"><div><div>Hi Kenichiro, the code worked perfectly! Is your class going to be incorporated into VTK versions newer than 7.0?<br></div> <br><br> Many thanks<br><br></div> Luca<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 1:54 PM, Luca Pallozzi Lavorante <span dir="ltr"><<a href="mailto:lplavorante@gmail.com" target="_blank">lplavorante@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Kenichiro, thank you very much for the code. I will use it and let you know how it worked.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"> Luca<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 1:06 AM, kenichiro yoshimi <span dir="ltr"><<a href="mailto:rccm.kyoshimi@gmail.com" target="_blank">rccm.kyoshimi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have a filter to remove duplicate polygons which is created with<br>
reference to the filter vtkCleanUnstructuredGridCells in ParaView. I<br>
have attached the sample. I hope this will help you in some way.<br>
<br>
Thanks,<br>
<div><div class="m_4814213603958847919h5"><br>
2017-05-25 21:47 GMT+09:00 Luca Pallozzi Lavorante <<a href="mailto:lplavorante@gmail.com" target="_blank">lplavorante@gmail.com</a>>:<br>
> Good morning,<br>
> I would like to know if there any VTK (7.0) class to remove duplicate<br>
> triangles in a vtkPolyData. Actually, the duplicate triangles are the output<br>
> of the following pipeline:<br>
><br>
> vtkUnstructuredGrid -> vtkDataSetSurfaceFilter<br>
><br>
> My original data is a geological layer which can have zero thickness in<br>
> some portions. When this happens, vtkDataSetSurfaceFilter returns a<br>
> vtkPolyData mesh with duplicated triangles. When I apply vtkPolyDataNormals<br>
> to this mesh, the duplicated triangles do not appear smooth. So I though I<br>
> could use vtkCleanPolyData, but it did not work.<br>
><br>
> Thanks in advance for any help.<br>
><br>
> Luca Pallozzi Lavorante<br>
><br>
</div></div>> ______________________________<wbr>_________________<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<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>