[vtkusers] Fill polygons with internal holes

wydesenej wydesenej at gmail.com
Mon Dec 7 12:24:45 EST 2015


Hello,

I have vtkPolyData containing set of vtkPolygons.
I need to display theese polygons filled with some colour.
And here comes difficulties: if there is one polygon in another polygon, it
means that this polygon represents hole. And this is recursive.

Here is example:
Input: http://postimg.org/image/du9qw1b45/
Output: http://postimg.org/image/pdf8vt3tn/

I have no idea how to do this. Is there any filter for this? I didnt found
any... Please any suggestions?

Thank you,
Ondrej Semmler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151207/fe5aac34/attachment.html>


More information about the vtkusers mailing list