>Date: Fri, 5 Apr 2002 01:15:37 -0800 (GMT-08:00)
>From: "KAN.DENG" <KAN.DENG@xxxxxxxxxx>
>Subject: How to change the sample in FlatField?
The above message contained the following:
> According to VisAD Java Component Library Developer Guide (<A
> isc.edu/~billh/guide.html#3.10</A>), "Most Data classes and metadata
> classes (of FlatField) are immutable", does it mean that users cannot
> interactively change the sample of a FlatField? In other words, is the
> following job possible?
> Suppose we have an isoContour, is it possible to allow
> the user to change the isoline by clicking mouse button? Since the
> isoContour is related to the sample of the FlatField, the above question
> is equivalent to change the sample of the field. Is that possible? If
> so, can anyone give me an instruction how to do it?
Range values of Field can be modified. See the Field.setSample,
Field.setSamples, and FlatField.setSamples() methods.
Steve Emmerson <http://www.unidata.ucar.edu>