[vtkusers] How to compute intersection between surface polydata in vtk?

Bill Lorensen wlorens1 at nycap.rr.com
Sat Apr 1 17:11:31 EST 2006


If one surface is a plane, you can use ClipPolyData and define an implicit 
plane as the clipper.

Bill

At 09:13 AM 4/1/2006, Jean-Dominique Barnichon wrote:
>Dear all,
>
>I need to find the intersection between two surfaces, each one being 
>defined as a polydata (actually one surface is a vertical polyplane, and 
>the other one is a topographical surface).
>
>Such intersection operation is already effective in other libraries such 
>as CGAL (http://www.cgal.org) and GTS (http://gts.sourceforge.net).
>However, it is still not clear to me which approach i should follow to 
>perform such an operation with vtk.
> From what i understood, one can either :
>- use vtkOBBTree::IntersectWithOBBTree(...), but in this case the related 
>parameters (especially the int(*function)) are not obvious to me. Would it 
>be possible to have a bit more information on this method and its usage?
>- treat polydata as an implicit surface using the vtkImplicitPolydata 
>class (proposed by Dave Pont), which then allows to use vtkClipPolyData 
>class (though this class is not part of vtk, yet?).
>
>Recently, there has been quite few threads related to very similar topics, 
>but i did not get whether involved people have eventually succeeded or not 
>in computing the intersection using one of the above mentioned method.
>
>Any help/advice is welcomed.
>Thanks in advance
>Jean-Do
>_______________________________________________
>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




More information about the vtkusers mailing list