[vtkusers] Help for sampling of polydata

Hila Hiler hilahiler at gmail.com
Wed May 16 04:55:09 EDT 2012


Hi,


If you have a polyData:
I'd suggest to use with Paraview->Delaunay 2D
and change the tolerance.

please update if it works.

Hila

On Wed, May 16, 2012 at 11:38 AM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:

> Have you generated vtkPolyData properly. Unless you post your code we
> couldn't do much on this.
>
>
> Jothy
>
>
> On Wed, May 16, 2012 at 4:00 AM, Rong Xu <xurong1981 at gmail.com> wrote:
>
>> Thank you for your suggestion!
>>
>> 2012/5/15 Jothybasu Selvaraj <jothybasu at gmail.com>
>>
>>> I think you should use vtkDecimatePro (there are many others in vtk) to
>>> reduce the number of points.
>>>
>>
>> I used vtkDecimatePro to reduce the number of points, but there is a
>> problem when running ("vtkDecimatePro (047640E8): No data to decimate!").
>> Then I used vtkTriangleFilter before vtkDecimatePro, but there still is the
>> same problem. Do you have any ideas ?
>>
>>
>>>
>>> Jothy
>>>
>>> On Tue, May 15, 2012 at 3:46 PM, Rong Xu <xurong1981 at gmail.com> wrote:
>>>
>>>> Dear, all:
>>>>
>>>> I extract a surface of one object from 3D ultrasound image, but there
>>>> are many points on extracted surface (more than 300,000). So I want to
>>>> sampling half or 25% representative points from the whole point set. Then I
>>>> tried vtkShrinkPolyData method and set shrink factor as 0.25, but the
>>>> number of points from shrinked result is not changed compared with the
>>>> whole point set. Does anyone have any ideas about my purpose ?
>>>>
>>>> Thank you for your help!
>>>>
>>>> --
>>>>
>>>> ---------------------
>>>> Best Regards!
>>>>
>>>> ===============================================
>>>> Rong Xu,  Ph.D Student
>>>> Ohya Lab
>>>> Graduate School of Global Information and Telecommunication
>>>> Studies (GITS), Waseda University
>>>> 1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (〒169-8050)
>>>>
>>>> Tel:          +81-80-4208-1207
>>>> E-mail:     xurong1981 at gmail.com
>>>>                xurong at fuji.waseda.jp
>>>> ===============================================
>>>>
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>>
>>>
>>>
>>> --
>>> Jothy
>>>
>>>
>>
>>
>> --
>>
>> ---------------------
>> Best Regards!
>>
>> ===============================================
>> Rong Xu,  Ph.D Student
>> Ohya Lab
>> Graduate School of Global Information and Telecommunication
>> Studies (GITS), Waseda University
>> 1-6-1 Nishi Waseda, Shinjuku-ku, Tokyo, Japan (〒169-8050)
>>
>> Tel:          +81-80-4208-1207
>> E-mail:     xurong1981 at gmail.com
>>                xurong at fuji.waseda.jp
>> ===============================================
>>
>>
>
>
> --
> Jothy
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120516/dfb8aa91/attachment.htm>


More information about the vtkusers mailing list