Hello,
I am having a little trouble to understant the timing test. Because when the function timme(insert tree)tree is called what is variable is the maxlevel, but in the output graph the x-axis is called max points per region. Seems Like two differnt variables are being reported.
Thank you,
Rafael
double TimeOBBTree(vtkPolyData* polydata, int maxLevel, int numberOfTrials,
vtkMinimalStandardRandomSequence* rng)
{
vtkNew<vtkTimerLog> timer;
timer->StartTimer();
// Create the tree
vtkNew<vtkOBBTree> obbTree;
obbTree->SetDataSet(polydata);
obbTree->AutomaticOff();
obbTree->SetMaxLevel(maxLevel);
obbTree->BuildLocator();