[vtk-developers] ContourTriangulator

David Gobbi david.gobbi at gmail.com
Fri Apr 19 14:11:25 EDT 2013


Hi All,

I've submitted a class called vtkContourTriangulator to gerrit, it
contains some triangulation code that I wrote a few years back but
just recently finished cleaning up.

It takes a 2D contour (e.g. output from vtkCutter or vtkContourFilter)
and produces triangulated polydata that "fills" the contour.  See the
attached image as an example.  It isn't meant to be super fast and it
doesn't produce especially high quality triangles, but it is very
careful about checking tolerances and edge cases and is quite robust.
In other words, it's not for high-performance meshing (e.g. for FEM),
but it is suitable for visualization.

If other developers are willing to review & comment, I'm hoping that
this can make it into the VTK 6 release.

http://review.source.kitware.com/#/t/2579/

 - David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestContourTriangulator.png
Type: image/png
Size: 2944 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20130419/ec4dabc3/attachment.png>


More information about the vtk-developers mailing list