Flow1 and Flow2 have distinct FlowControls, so setFlowScale()
for one doesn't affect the other.
On Wed, 3 Sep 2003, Russell Steicke wrote:
> I'm trying to put multiple fields on a display, each being displayed as
> wind barbs. This is for viewing multiple weather models.
> So, there is multiple data on the display, of the form:
> With ScalarMaps
> I'd like to be able to control the length of the wind barbs separately
> for each field, which is done via the FlowControls from
> ScalarMap.getControl(). However, setting the flow scale for the U2 and
> V2 ScalarMaps' FlowControls affects the length of the wind barbs for the
> (U1,V1) data.
> From reading DisplayRendererJ3D.java and DisplayImpl.java it seems that
> this is because Flow1X and Flow1Y are "single" DisplayRealTypes, and
> there is only one instance of each per display. Is there a way around
> Is it possible to set flow scale separately for different data on the
> one display?
> Russell Steicke
> -- Fortune says:
> Life exists for no known purpose.