[vtkusers] vtkPointLocator, Insertion and Moving Points

Karthik Krishnan karthik.krishnan at kitware.com
Wed Jun 4 16:27:07 EDT 2008


On Wed, Jun 4, 2008 at 7:24 PM, Mike Jackson <imikejackson at gmail.com> wrote:

> while point0 is set to the _exact_ same values will actually insert a whole
> NEW point with a new PointID. Digging through the source I see some uses of
> Hashtables and such (which I will pretend to understand). After debugging
> this most of the afternoon I am coming to the conclusion (probably and
> obvious conclusion) that  I need to "rehash" the vtkPointLocator instance. I
> looked through the docs but I don't really see anything that might do that?
> What would be the preferred way to solve this issue? Or am I completely off
> on how to do what I am doing?

BuildLocator() does that for you.

--
karthik



More information about the vtkusers mailing list