[vtkusers] Decimation routines

Cristian Luciano clucia1 at uic.edu
Thu Feb 26 11:58:25 EST 2004


Murali,

If you don't want to have holes in the mesh, use vtkDecimate::PreserveTopologyOn() function.

Cristian

__________________________________________________________

Cristian J. Luciano
Research Computer Scientist

Electronic Visualization Laboratory
Industrial Virtual Reality Institute
 
University of Illinois at Chicago
842 W. Taylor Street, 2039 ERF
Chicago, IL, 60607
ph: (312) 996-0579
fax: (312) 413-0447
<http://www.evl.uic.edu>
__________________________________________________________ 
 

 


----- Original Message ----- 
  From: Muralidharan Dhanakoti 
  To: vtkusers at vtk.org 
  Sent: Thursday, February 26, 2004 3:17 AM
  Subject: [vtkusers] Decimation routines


  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/2992393f/attachment.htm>


More information about the vtkusers mailing list