[vtkusers] vtkOBBTree vs. vtkCellLocator

M. Campopiano lost_bits1110 at hotmail.com
Fri Nov 14 13:20:09 EST 2003


Hello again,

So I was able to use vtkCellLocator using the following:

	celllocator->SetDataSet(ugrid);
	celllocator->BuildLocator();
	celllocator->FindClosestPoint(x, closestpoint, cellid, subid, dist);

And now I invoke the EXACT same methods with vtkOBBTree but it crashes at 
BuildLocator()..?????

	obbtree->SetDataSet(ugrid);
	obbtree->BuildLocator(); //CRASHES HERE!!!!!!!!!!!!!?????
	obbtree->FindClosestPoint(xobb, closestpointobb, cellidobb, subidobb, 
distobb);

Can anyone tell me why it works for the CellLocator and not for the 
OBBTree?? Its the exact same thing.. Note that my unstructured grid contains 
quadratic tetra's

Thanks
Mike

_________________________________________________________________
Send a QuickGreet with MSN Messenger 
http://www.msnmessenger-download.com/tracking/cdp_games




More information about the vtkusers mailing list