[vtkusers] Polygon Intersection with vtkPolyData

Meisam Aliroteh meisam.aliroteh at gmail.com
Mon Apr 23 11:12:10 EDT 2007


Go to http://staff.science.uva.nl/~dshamoni/ and visit "My Projects >
Boolean". You can download its code from "Download > Boolean".

On 4/23/07, ѧ־ Ñî <shulo1978 at hotmail.com> wrote:
>
> Hi everyone, I am quite new to VTK. I am trying to do polygon intersection
> detection and extract the area which overlaps and reconstruct the
> overlapping part into a new polygon. The information of polygons is stored
> in vtkPolyData, I have written an algorithm to detect intersection and
> reconstruct new polygon. However, it doesn't work. Since I am quite new to
> vtk, I might make some mistakes. The question is as polygon infomation is
> stored in vtkPolyData, do I need to use vtkCutter to cut through with a
> vtkPlane to get 2D data? I didn't do this and straightaway extract the
> point(vtkPoints) in vtkPolyData and compare them. If I did this, can I
> still
> store the data in vtkPolyData just as the point z value is zero? I dun
> know
> whether I confuse you guys, if I didn't make myself clear, please let me
> know. Please do help me and I really appreciate. The main problem I have
> really is lack of information of VTK. The documentation is a bit hard for
> me
> to understand sometimes and not sufficient information : (... Thanks for
> everyone
>
> _________________________________________________________________
> MSN Hotmail is evolving - check out the new Windows Live Hotmail
> http://get.live.com/betas/mail_betas
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070423/5b1d1f04/attachment.htm>


More information about the vtkusers mailing list