<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Thank you Amy.</DIV>
<DIV>I post you the code i used:</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkCurvatures *curve = vtkCurvatures::New();</DIV>
<DIV>curve-&gt;SetInput(cleaner-&gt;GetOutput());<BR>curve-&gt;SetCurvatureTypeToMaximum();<BR>curve-&gt;Update();</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkPolyDataMapper *maxMapper = vtkPolyDataMapper::New();<BR>maxMapper-&gt;SetInput(curve-&gt;GetOutput());<BR>&nbsp;<BR>vtkActor *maxCurve = vtkActor::New();<BR>maxCurve-&gt;SetMapper(maxMapper);<BR>maxCurve-&gt;SetPosition(0.0,0.0,0.0);<BR>myRender-&gt;AddActor(maxCurve);<BR>myRenderWindow-&gt;Render();</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please, tell me where to add the code you sent to me to display the maximum curvatures&gt;0.5</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you for your help!!!</DIV>
<DIV><BR><BR>--- En date de&nbsp;: <B>Ven 17.10.08, Amy Squillacote <I>&lt;ahs@cfdrc.com&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">De: Amy Squillacote &lt;ahs@cfdrc.com&gt;<BR>Objet: Re: [vtkusers] How to use 'vtkCurvatures' class?<BR>À: butterfly.1688@yahoo.fr<BR>Cc: vtkusers@vtk.org<BR>Date: Vendredi 17 Octobre 2008, 19h41<BR><BR><PRE>You'll want to use vtkCurvatures with curvature type set to maximum. 
Then pass the output of that filter to a vtkThreshold, using the 
ThresholdByUpper method to indicate the values to keep. Example c++ code 
is shown below.

vtkCurvatures *curv = vtkCurvatures::New();
curv-&gt;SetCurvatureTypeToMaximum();

vtkThreshold *thresh = vtkThreshold::New();
thresh-&gt;SetInputConnection(curv-&gt;GetOutputPort());
thresh-&gt;ThresholdByUpper(0.5); // using the example value you provided.

Online documentation for vtkCurvatures is here: 
http://www.vtk.org/doc/nightly/html/classvtkCurvatures.html.
Online documentation for vtkThreshold is here: 
http://www.vtk.org/doc/nightly/html/classvtkThreshold.html.

- Amy

B. C. wrote:
&gt; Please, i need your help to finish my work!!!
&gt; I use 'vtkCurvatures' to compute curvatures at each point of my 
&gt; polydata structure.
&gt; I want to save only the Maximum curvatures and display only those 
&gt; which are &gt; some_value (0.5 for example).
&gt; Can someone tell me how to do this?
&gt; Please heeeeeeeeelp!!!
&gt;
&gt;
&gt; __________________________________________________
&gt; Do You Yahoo!?
&gt; En finir avec le spam? Yahoo! Mail vous offre la meilleure protection 
&gt; possible contre les messages non sollicités
&gt; http://mail..yahoo.fr Yahoo! Mail
&gt; ------------------------------------------------------------------------
&gt;
&gt; _______________________________________________
&gt; This is the private VTK discussion list.
&gt; Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
&gt; Follow this link to subscribe/unsubscribe:
&gt; http://www.vtk.org/mailman/listinfo/vtkusers
&gt;   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805


</PRE></BLOCKQUOTE></td></tr></table><br>__________________________________________________<br>Do You Yahoo!?<br>En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités <br>http://mail.yahoo.fr Yahoo! Mail