<table cellspacing='0' cellpadding='0' border='0' ><tr><td valign='top' style='font: inherit;'><P>Hi vtk users. I need your help.</P>
<P>I want to visualize the curvatures of a 3D object. To do this, i have an interface from which i read a vrml file and i should use vtkCurvatures class.</P>
<P>I found this code:</P>
<P> </P>
<P>vtkCleanPolyData *cleaner = vtkCleanPolyData::New();<BR><FONT style="BACKGROUND-COLOR: #80ff00">// Here, read the polydata from the interface<BR></FONT>vtkCurvatures *curvatures = vtkCurvatures::New();<BR>curvatures->SetCurvatureTypeToMean();<BR>curvatures->SetInput(cleaner->GetOutput());<BR>curvatures->Update();<BR>myWindow->Render();</P>
<P> </P>
<P> </P>
<P>I want to know what to add in the secon line to read ths polydata from my window and how to <FONT style="BACKGROUND-COLOR: #80ff00">visualize</FONT> the curvatures (this code only calculate the mean curvatures).</P>
<P> </P>
<P>Thank you sooo much</P></td></tr></table><br>
<hr size="1">
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a>