[vtkusers] how to decrease the number of vtkpolydata

Ali Habib ali.mahmoud.habib at gmail.com
Wed Apr 13 04:11:55 EDT 2011


Dear All ,

thanks it worked very well and the number of points decreased and the outer
topology be the same

On Tue, Apr 12, 2011 at 10:34 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> And here is one that uses QuadricDecimation
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/QuadricDecimation
>
>
>
> On Tue, Apr 12, 2011 at 4:33 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> Ali,
>>
>> here is an example that uses DecimatePro:
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Decimation
>>
>> Bill
>>
>>
>> On Tue, Apr 12, 2011 at 4:07 PM, David Gobbi <david.gobbi at gmail.com>wrote:
>>
>>> On Tue, Apr 12, 2011 at 2:00 PM, Ali Habib <ali.mahmoud.habib at gmail.com>
>>> wrote:
>>> > Dear David,
>>> > yes I need like in the example , but is there any other example ,
>>> because it
>>> > destroyed the outer shape of the vtkpolydata , I nneed to keep the
>>> output
>>> > shape and at teh same time reduce the number of points
>>>
>>> Ali, use vtkDecimatePro followed by vtkCleanPolyData.
>>>
>>>  - David
>>> _______________________________________________
>>> 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/20110413/47ffd4a5/attachment.htm>


More information about the vtkusers mailing list