[vtkusers] How to get bounds of each bounding box in vtkOBBTree

David Doria daviddoria at gmail.com
Wed Aug 31 08:51:17 EDT 2011


On Wed, Aug 31, 2011 at 8:50 AM, Jothy <jothybasu at gmail.com> wrote:
> Hi all,
>
> I am trying to compute an optimal orientated bounding box for a vtkPolyData.
> I set the max level to 10 in vtkOBBTree. Does it means that it will have
> maximum 10 bounding boxes. If so, how to get the bounds of each bounding
> box?
>
> Thanks
>
> Jothy

This should help you out:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/VisualizeOBBTree

David



More information about the vtkusers mailing list