Hi,
I am using vtkKdTree in a python programmable filter. I would like to use:
void vtkKdTree::FindPointsWithinRadius(double R,
  const double x[3],
  vtkIdList* result)

but I don't know how to write it in python. I tried the following :
coord = (687856,539156,269)
result = vtk.vtkIdList()
kdTree.FindPointsWithinRadius(100, coord, result)

but this doesn't work.

Thank you.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to