[vtkusers] How to get the IDs of min and max from a GetRange() ?

mightos mightos at gmail.com
Tue Jul 7 16:30:10 EDT 2015


Hello

Let's say I have a vtkScalars with 100000 values.
I would like to know the minimum and maximum values and their position in
the vtkScalars.

I currently use vtkScalars.GetRange()[0] to get the minimum value and
vtkScalars.GetRange()[1] for the maximum. However, I was wondering how I
could get the indexes from that.

Any help is welcome :)



--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-get-the-IDs-of-min-and-max-from-a-GetRange-tp5732756.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list