<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi all vtk users.</DIV>
<DIV>Please, i need yor help. I'm really in a trouble.</DIV>
<DIV>I want to extract some particular features from polydats saved as VTK files. When i read those files, the quality of the image is not well, so i have wrong resulats of extraction.</DIV>
<DIV>I tried to smooth the surafce of the poydata but i don't have goos results.</DIV>
<DIV>I post here the code i use and i want to know if ther's another way to have better result.</DIV>
<DIV>Thank you so much.</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkXMLPolyDataReader *reader = vtkXMLPolyDataReader::New();<BR>reader-&gt;SetFileName(fileName);<BR>reader-&gt;Update();</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkSmoothPolyDataFilter *smooth = vtkSmoothPolyDataFilter::New();<BR>smooth-&gt;SetInput(reader-&gt;GetOutput());<BR>smooth-&gt;SetNumberOfIterations(100);<BR>smooth-&gt;BoundarySmoothingOn();<BR>smooth-&gt;SetFeatureAngle(120);<BR>smooth-&gt;SetEdgeAngle(90);<BR>smooth-&gt;SetRelaxationFactor(0.025);</DIV>
<DIV>&nbsp;</DIV></td></tr></table><br>