[vtkusers] vtkPointLocator, Insertion and Moving Points
Mike Jackson
imikejackson at gmail.com
Wed Jun 4 17:59:12 EDT 2008
Tried that and I get the following errors now:
ERROR: In /Users/Shared/Kitware-CVS/ParaView3/VTK/Filtering/
vtkPointLocator.cxx, line 961
vtkMergePoints (0x3a16820): No points to subdivide
and then my program crashes.
Thanks for the input.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Jun 4, 2008, at 4:27 PM, Karthik Krishnan wrote:
> 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