[vtkusers] vtkPointLocator seg faults at BuildLocator
Chris Turner
cturnercomplex at googlemail.com
Fri Aug 27 15:46:06 EDT 2010
So I noticed that my surface model has "too much" Points. (Not
every point is used for a cell) Is there a method to remove unused Points
or do I have to do it by hand?
Because when I do it by my own the BuildLocator method works
sometimes. But not every time so there could be an error in my "remove
unused points function"...
Thanks,
Chris
On Thu, Aug 26, 2010 at 4:11 PM, Chris Turner
<cturnercomplex at googlemail.com> wrote:
> Thanks for the conformation put what should I do now?
>
> On Thu, Aug 26, 2010 at 2:09 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
>> On Thu, Aug 26, 2010 at 1:56 PM, Chris Turner
>> <cturnercomplex at googlemail.com> wrote:
>>> Ah okay - sorry.
>>>
>>> The example works fine here is the output:
>>>
>>> ./PointLocatorRadius
>>> id of point 0 : 88
>>> id of point 1 : 58
>>> id of point 2 : 128
>>>
>>> Please find attached the data set. edit: I also uploaded it here:
>>> http://www.mediafire.com/?vplh42oo31d0sxx because the mailing doesn't
>>> accept large mails.
>>>
>>> Thanks,
>>> Chris
>>
>> Strange - I can confirm that it crashes. I don't know why though,
>> sorry! I looked at the data in Paraview and it seems fine. I also
>> wrote it to a vtp file from paraview then tried to read it and put it
>> into the vtkPointLocator in VTK but it still crashed.
>>
>> David
>>
>
More information about the vtkusers
mailing list