[vtkusers] Densify points in Polydata?
Marc Huber
marchuber.hft at gmx.de
Thu May 23 09:12:57 EDT 2013
Am 5/23/2013 3:05 PM, schrieb David Doria:
> On Thu, May 23, 2013 at 8:35 AM, Marc Huber <marchuber.hft at gmx.de> wrote:
>> Am 5/23/2013 2:12 PM, schrieb David Doria:
>>
>>> On Thu, May 23, 2013 at 7:40 AM, Marc Huber <marchuber.hft at gmx.de> wrote:
>>>> Hi,
>>>>
>>>> I have a Polydata object consisting of e.g. 8 points. I'd like to get
>>>> more
>>>> points on the object.
>>>> I tried it with a vtkPolyDataPointSampler.
>>>> This works fine with a sphere but it crashes with vtkPolyData.
>>>>
>>>> Has anyone an idea what the problem might be? Or any alternative idea?
>>>> Thanks in advance!
>
> Change the SetDistance(.1) call to SetDistance(1). With .1, my memory
> fills up and it crashes as you've mentioned. It must be because your
> object is 1000x100x10, while the demo sphere was only 1x1x1.
>
> David
>
Thank you so much! This solves it. I haven't had this idea.
--
Best regards / Mit freundlichen Grüßen
Marc Huber
More information about the vtkusers
mailing list