<html><body>
<p><tt>&quot;Kevin H. Hobbs&quot; &lt;hobbsk@ohiou.edu&gt;</tt><tt>&nbsp;wrote on 22/11/2007 02:40:31:<br>
<br>
&gt; Is there a better way to find all of the positions of the scalar value<br>
&gt; minima in a PolyData than to :<br>
&gt; &nbsp; &nbsp;loop over all of the points<br>
&gt; &nbsp; &nbsp; &nbsp; loop over all of the cells the point is in<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;loop over all of the other points in the cell<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; compare the values of the other points to the first points value<br>
&gt; &nbsp; &nbsp; &nbsp; save the points location if it is value is less than all of <br>
&gt; its neighbor's values.<br>
&gt; <br>
&gt; <br>
vtkThresholdPoints can be used to extract all points with a scalar value &lt;= a specified threshold, but if you are after local minima then you are on the right track.</tt><br>
<tt>&nbsp; &nbsp;DP<br>
&gt; _______________________________________________<br>
&gt; This is the private VTK discussion list. <br>
&gt; Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk">http://www.vtk</a>.<br>
&gt; org/Wiki/VTK_FAQ<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</tt></body></html>