[Paraview] python programmable filter

Nehme Bilal nbilal at mirarco.org
Sat May 9 21:38:30 EDT 2009


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.


More information about the ParaView mailing list