NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

multiple iso-surfaces of one variable?

Suppose one needs to show multiple iso-surfaces
of one variable or Field in one display, such as temperature 
surfaces inside a thunderstorm.

The same ScalarMap is used  

sMap = new ScalarMap(vRealType, Display.IsoContour);

to map the data type to IsoContour for all surfaces.  
There is one ContourControl made from the ScalarMap. 
The command to change isosurface value is

 ContourControl.setSurfaceValue(surfaceValue);

When you call this to reset the value of one surface all
surfaces snap to that  value since there is one control.

Is there a way to achieve separate values for several isosurfaces
of the same field?

Might it be possible to use the other methods of ContourControl
such as setLevels(float[] levels, float base, boolean dash),
intended for lines, to use with surfaces?

Stu 

-- 

Stuart Wier                              UCAR Unidata Program
wier@xxxxxxxxxxxxxxxx                           P.O. Box 3000
http://www.unidata.ucar.edu/staff/wier      Boulder, CO 80307


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: