[vtkusers] Decimation routines

Muralidharan Dhanakoti murali at uab.edu
Thu Feb 26 04:17:12 EST 2004


Hi VTK experts

I have been trying to use vtkDecimate with little success, this routine
seems to do well in reducing the number of faces in the mesh, but then
it does not seal the holes that are generated during the decimation
process

This is the code that I'am using

 vtkDecimatePro *decimate = vtkDecimatePro::New();
        decimate->SetInput(data);
        decimate->SetTargetReduction(0.7);

When a 90% reduction disfigured the original mesh, I thought that I
might set it right by doing the process incrementally but that din't do
any good either.

I learnt that vtkDecimatePro will produce the target reduction specified
unlike vtkDecimate where in one needs to specify a bunch of constraints,
since I'am not all that familiar with decimation lingo I decided to
stick with vtkDecimatePro, but it kills my original mesh.

Any thoughts and pointers to useful information will be greatly
appreciated,
Murali.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040226/76272562/attachment.htm>


More information about the vtkusers mailing list