[vtkusers] Scalar value minima in PolyData

David.Pont at ensisjv.com David.Pont at ensisjv.com
Wed Nov 21 16:06:41 EST 2007


"Kevin H. Hobbs" <hobbsk at ohiou.edu> wrote on 22/11/2007 02:40:31:

> Is there a better way to find all of the positions of the scalar value
> minima in a PolyData than to :
>    loop over all of the points
>       loop over all of the cells the point is in
>          loop over all of the other points in the cell
>             compare the values of the other points to the first points
value
>       save the points location if it is value is less than all of
> its neighbor's values.
>
>
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.
   DP
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071122/c52e69c2/attachment.htm>


More information about the vtkusers mailing list