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.

[visad] Bug in ScalarMap range setting.

Hi,

i think i discovered another bug.
I have a ScalarMap mapped to Display.RGB:
    colorMap=ScalarMap(RealType.Value,Display.RGB)


If i changed the range of this map to e.g. colorMap.setRange(10,50) everthing works fine as expected. But when i changed it back to auto scaling with colorMap.resetAutoScale() nothing happens. (The display/ColorControl still gets the values that are normalized with the manual range values. Even a display.reDisplayAll() does not help. Only display.reAutoScale() switched it back to autoScaling. But I cannot use that, because it will affect also other range settings...

Maybe someone can give me hint to fix that issue.

Thanks,
Stefan Below





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