[vtkusers] Remove duplicate triangles in vtkPolyData

kenichiro yoshimi rccm.kyoshimi at gmail.com
Fri May 26 00:06:14 EDT 2017


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.


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 --------------
A non-text attachment was scrubbed...
Name: RemoveDuplicatePolys.tar.gz
Type: application/x-gzip
Size: 3195 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170526/a9aee927/attachment.bin>

More information about the vtkusers mailing list