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