[vtkusers] Number of points in a KdTree?

David Doria daviddoria+vtk at gmail.com
Mon Oct 26 16:40:31 EDT 2009


On Mon, Oct 26, 2009 at 4:34 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I think the problem is that there is not a dataset associated with the
> kdtree if you build it from points.
>
> If you build it from a dataset, there will probably be a dataset.
>
> Just a guess...


I see the AddDataSet function - so I guess if I had used that followed
by BuildLocator() I could then use the GetDataSet* style functions. I,
however, used BuildLocatorFromPoints(). How would one get information
about that data set if this method was used to build the tree?

Thanks,

David



More information about the vtkusers mailing list