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

David Doria daviddoria at gmail.com
Wed Aug 31 09:53:14 EDT 2011


On Wed, Aug 31, 2011 at 9:09 AM, Jothy <jothybasu at gmail.com> wrote:
> Thanks David,
>
> But I couldn't figure out how to get the bounds of the individual boxes.
>
> Jothy

It looks like the GenerateRepresentation calls a (unfortunately
protected) GeneratePolygons function. I don't think there is a built
in way to get each box, but you could subclass OBBTree and call that
function on your subclass object.

David



More information about the vtkusers mailing list