[vtkusers] how to decrease the number of vtkpolydata

Bill Lorensen bill.lorensen at gmail.com
Tue Apr 12 16:33:25 EDT 2011


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/20110412/5c2b19da/attachment.htm>


More information about the vtkusers mailing list