<div dir="ltr"><div>Hi Kenichiro, thank you very much for the code. I will use it and let you know how it worked.<br><br></div> Luca<br></div><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="h5"><br>
2017-05-25 21:47 GMT+09:00 Luca Pallozzi Lavorante <<a href="mailto:lplavorante@gmail.com">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/<wbr>opensource/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_<wbr>FAQ</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/<wbr>mailman/listinfo/vtkusers</a><br>
><br>
</blockquote></div><br></div>