Create custom frustum for vtkExtractGeometry

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Create custom frustum for vtkExtractGeometry

sepideh20
Hello,

I want to create a custom frustum using vtkplanes. That frustum would be then used in vtkExtractGeometry to extract an area of an unstructured grid. Now, my problem is how to create a custom frustum with 8 points (all the corners of the frustum). In other words, using the 8 corner points that I have, how should I set planes in SetFrustumPlanes as below:

 vtkPlanes planes = vtkPlanes.New();
  planes.SetFrustumPlanes( ???? );

Thanks.
Loading...