Re: Sharing brushing (DISPLAY.SelectRange) across multiple displays

Hi Don,

You can coordinate RangeControls between multiple DisplayImpls.
See visad/rabin/Rain.java for an exmaple of coordinating
ProjectionControls and ColorControls between multiple Displays.
Note that you need to avoid event loops - see the logic with
in_proj in the ControlChanged() method.

Good luck,
Bill

On Mon, 25 Oct 2004, Flaggs, Don wrote:

> Hi all,
>
> I'm putting together an application where I'd like to create multiple 2D/3D 
> scatterplot views of the same data, to include brushing.  Assigning the same 
> data refs to the multiple views works great.  Is there an easy way of 
> effectively doing the same kind of thing with SelectRangeWidget(s) or 
> something else such that "brushing" is automatically reflected in all views?  
> The VisAD documentation for SelectRangeWidget currently says "The 
> DisplayRealType of smap ... should already be added to a Display" which 
> implies that the standard brushing is display-specific.
>
> thanks in advance...  dlf
>