[vtkusers] vtkActor2D / Polygons

Will Schroeder will.schroeder at kitware.com
Fri Dec 8 06:34:32 EST 2000



At 12:57 AM 12/8/2000 +0100, D. Vercauteren wrote:
>\
>Another one : when building a polygon, if it's convex all works fine. If 
>it isn't convex, it seems the triangulate method which fills the polygon 
>just pick a point and triangulate from it. So the filled polygon has a 
>strange shape with triangles overlapping the real one. Is there a way to 
>have it work ?
>I've tried to pass the polygon through vtkTriangleFilter but it's exactly 
>the same problem.

It's not clear which version of vtk you are running. The triangulation 
method in vtkPolygon (which vtkTriangleFilter) has been recently rewritten 
and works great. I would suggest that
you obtain the daily release version of vtk at 
http://www.kitware.com/vtkhtml/vtkdata/Nightly.html

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20001208/17a2cc28/attachment.htm>


More information about the vtkusers mailing list