Ali,<br><br>here is an example that uses DecimatePro:<br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Decimation">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Decimation</a><br><br>Bill<br><br><div class="gmail_quote">
On Tue, Apr 12, 2011 at 4:07 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Tue, Apr 12, 2011 at 2:00 PM, Ali Habib <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>> wrote:<br>
> Dear David,<br>
> yes I need like in the example , but is there any other example , because it<br>
> destroyed the outer shape of the vtkpolydata , I nneed to keep the output<br>
> shape and at teh same time reduce the number of points<br>
<br>
</div>Ali, use vtkDecimatePro followed by vtkCleanPolyData.<br>
<br>
- David<br>
<div class="im">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
</div>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<div><div></div><div class="h5"><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>