<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Murali,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you don't want to have holes in the mesh,
use <FONT face="Times New Roman" size=3>vtkDecimate::PreserveTopologyOn()
function.</FONT></FONT></DIV>
<DIV> </DIV>
<DIV>Cristian</DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>__________________________________________________________</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Cristian J. Luciano<BR>Research Computer
Scientist</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Electronic Visualization Laboratory<BR>Industrial
Virtual Reality Institute<BR> <BR>University of Illinois at Chicago<BR>842
W. Taylor Street, 2039 ERF<BR>Chicago, IL, 60607<BR>ph: (312) 996-0579<BR>fax:
(312) 413-0447<BR><<A
href="http://www.evl.uic.edu">http://www.evl.uic.edu</A>><BR>__________________________________________________________ <BR> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=murali@uab.edu href="mailto:murali@uab.edu">Muralidharan
Dhanakoti</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 26, 2004 3:17
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Decimation
routines</DIV>
<DIV><BR></DIV>
<P>Hi VTK experts</P>
<P>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</P>
<P>This is the code that I'am using</P>
<P> vtkDecimatePro *decimate =
vtkDecimatePro::New();<BR>
decimate->SetInput(data);<BR>
decimate->SetTargetReduction(0.7);</P>
<P>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.</P>
<P>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.</P>
<P>Any thoughts and pointers to useful information will be greatly
appreciated,<BR>Murali.</P></BLOCKQUOTE></BODY></HTML>