[vtkusers] Hollow polygon

David E DeMarle dave.demarle at kitware.com
Tue Apr 12 09:09:40 EDT 2016


Hello,

The polygon with a hole in it is also a concave, so in order for us to draw
it it you have to first convert it into a set of convex polygons.
vtkDiskSource produces many polygons, not just one.

hope that helps

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Apr 12, 2016 at 7:04 AM, 路明月 <bmoonlu at yeah.net> wrote:

> Hi All,
> I want to draw a polygon which has a hole in the center.I know the
> vtkdisksource can do this,but I want to give input dataset to draw.
> How can I do with this question?
> Thank you for  any help.
> You sincerely.
>
>
>
>
> _______________________________________________
> 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/20160412/ad6c46fe/attachment.html>


More information about the vtkusers mailing list