[vtkusers] Remove duplicate triangles in vtkPolyData

Luca Pallozzi Lavorante lplavorante at gmail.com
Fri May 26 12:54:56 EDT 2017


Hi Kenichiro, thank you very much for the code. I will use it and let you
know how it worked.

   Luca

On Fri, May 26, 2017 at 1:06 AM, kenichiro yoshimi <rccm.kyoshimi at gmail.com>
wrote:

> Hi,
>
> I have a filter to remove duplicate polygons which is created with
> reference to the filter vtkCleanUnstructuredGridCells in ParaView. I
> have attached the sample. I hope this will help you in some way.
>
> Thanks,
>
> 2017-05-25 21:47 GMT+09:00 Luca Pallozzi Lavorante <lplavorante at gmail.com
> >:
> > Good morning,
> > I would like to know if there any VTK (7.0) class to remove duplicate
> > triangles in a vtkPolyData. Actually, the duplicate triangles are the
> output
> > of the following pipeline:
> >
> > vtkUnstructuredGrid -> vtkDataSetSurfaceFilter
> >
> > My original  data is a geological layer which can have zero thickness in
> > some portions. When this happens, vtkDataSetSurfaceFilter returns a
> > vtkPolyData mesh with duplicated triangles. When I apply
> vtkPolyDataNormals
> > to this mesh, the duplicated triangles do not appear smooth. So I though
> I
> > could use vtkCleanPolyData, but it did not work.
> >
> >  Thanks in advance for any help.
> >
> >       Luca Pallozzi Lavorante
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Search the list archives at: http://markmail.org/search/?q=vtkusers
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170526/d67198ae/attachment.html>


More information about the vtkusers mailing list