[vtkusers] Building a KD Tree from a vtkDataArray

Federico Milano fmilano at gmail.com
Tue Apr 19 11:48:47 EDT 2011


Hi,

I need to create a vtkKdTreePointLocator from a vtkDaraArray, where I have
stored points as 3 components tuples. Is there an easy way to convert from
vtkDataArray to vtkDataSet, so I can initialize the KDTree?

Thanks in advance,

Federico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110419/4f3f5000/attachment.htm>


More information about the vtkusers mailing list