Using the maximum value of any scalar field as the threshold for an isosurface 
will always give a null object. In fact, the smallest isosurface you could ever 
construct is a single triangle, intersecting 3 edges connecting one vertex 
greater than your threshold, and three other vertices below your threshold.

this is the second case in this figure: 
http://en.wikipedia.org/wiki/File:MarchingCubes.svg

you should rethink your strategy of using the maximum value as input threshold.

That being said, there is a much faster way to get the range (the min and 
maximum) of a scalar field from within the Pogrammable Filter. Simply use 
GetRange()

max = temperature.GetRange()[1]

-----------------
Jean M. Favre
Swiss National Supercomputing Center
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to