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