[vtkusers] vtkOBBTree (and other tree) levels
David Doria
daviddoria+vtk at gmail.com
Mon Aug 2 13:24:58 EDT 2010
In this example:
http://www.vtk.org/Wiki/VTK/Examples/DataStructures/VisualizeOBBTree
I am trying to tell it to generate 6 levels of the tree.
I tried this:
obbTree->AutomaticOff();
obbTree->SetMaxLevel(6);
obbTree->BuildLocator();
but
std::cout << "Generating " << obbTree->GetLevel() << " levels." << std::endl;
outputs "2".
Also, in this example:
http://www.vtk.org/Wiki/VTK/Examples/DataStructures/VisualizeKDTree
Although it says it is generating 8 levels, all of the visualizations
seem to be simply the bounding box. How would one show the levels of
the tree?
Thanks,
David
More information about the vtkusers
mailing list