[vtkusers] Strange Behavior in vtkPointLocator (Bug?)

Jan Ehrhardt ehrhardt at medinf.mu-luebeck.de
Fri Apr 19 05:34:27 EDT 2002


Hi Folks,

I do the following:

      vtkPolyData *data = .....

      vtkPointLocator *locator = vtkPointLocator::New();
      locator->SetDataSet(data);
      locator->BuildLocator();

And this crashs in  BuildLocator(); because some of the Points in the 
dataset are outside the bounds! This is because
vtkPolyData::ComputeBounds() only looks for points, which are connected
with cells -- why ? (this is not effizient and not the expected
behaviour)

Jan

--
-----------------------
Jan Ehrhardt
mailto:ehrhardt at medinf.mu-luebeck.de
-----------------------



More information about the vtkusers mailing list