<html><body>
<p><tt>Sawsan Ahmed <sawsanahm@yahoo.com></tt><tt> wrote on 18/12/2006 20:20:50:<br>
<br>
> Hello Friends,</tt><br>
<tt>> I want to get a plane which cuts an object of <br>
> arbitrary shape perpendicularly along the surface.Could anyone give <br>
> me any idea?</tt><br>
<tt>> Thanks in advance.</tt><br>
<tt>> </tt><br>
<tt>> Sawsan</tt><br>
<br>
<tt>Hi Sawsan,</tt><br>
<tt> vtkOBBTree has a member function ComputeOBB. Perhaps you can use the outputs from this to determine the location and orientation of the longest axis. This information could then be used to locate and orient a plane: vtkPlane and vtkClipPolyData or vtkCutter can then be used to clip or cut.</tt><br>
<br>
<tt>hope that helps, Dave P</tt></body></html>