[vtkusers] how to decrease the number of vtkpolydata
David Gobbi
david.gobbi at gmail.com
Tue Apr 12 16:03:53 EDT 2011
Hi Ali,
Use the vtkDecimatePro filter, it was specifically designed for
reducing the triangle count of a mesh while maintaining the overall
shape.
David, about that example, the vtkCleanPolyData filter was not
designed to be used as a decimation filter. Its documentation says
that it is meant to "merge duplicate points, and/or remove unused
points and/or remove degenerate cells". It will probably destroy the
mesh topology if used as a decimator.
- David
On Tue, Apr 12, 2011 at 1:47 PM, David Doria <daviddoria at gmail.com> wrote:
> On Tue, Apr 12, 2011 at 3:44 PM, Ali Habib <ali.mahmoud.habib at gmail.com>
> wrote:
>>
>> Hi ,
>> I want to decrease the number of poiints of vtkpolydata generated by
>> vtkmarcingcube it's now 5479
>> any suggestion regarding that
>
> Do you need to reduce the points generated inside the filter? Or would
> something like this:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DownsamplePointCloud
> be ok?
> 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
>
>
More information about the vtkusers
mailing list