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

Jothy jothybasu at gmail.com
Thu Sep 8 11:01:33 EDT 2011


Is it possible to get the vtkPolyData in a particular level. Does it really
split the polydata?

Thanks

Jothy

On Wed, Aug 31, 2011 at 2:53 PM, David Doria <daviddoria at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110908/c78a8bdb/attachment.htm>


More information about the vtkusers mailing list