Stefan Below wrote:
resetAutoScale does not initiate a transform, it allows an auto scale
ScalarMap for the next data changed event, eg. DataReference.setData,
i think i discovered another bug.
I have a ScalarMap mapped to 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
ok... can i manually send a data change event to initiate a transform?.
Re-setting the data to the DataReference or FlatField.setSamples() does
(Btw, i think its a bit inconsistent if ScalarMap.setRange() works
immediately and ScalarMap.resetAutoScale() does not. And
ScalarMap.resetAutoScale() does work if it is mapped to
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.
visad mailing list
For list information, to unsubscribe, visit: