Hi Mathias,
> That's where I get the Exception:
>
> visad.DisplayException: RendererJ3D.setLinks: already set
> you are probably re-using a DataRenderer
>
> Is there a way to avoid this Exception. Is there any way to re-use a
> DataRenderer, perhaps with the help of the DataRenderer.removeLink()
> method?
Its easiest to just construct a new DirectManipulationRendererJ3D.
There is no useful state saved in the old one. If you need to
save state, you'll need to explicitly extract it from the
ScalarMaps and Controls, then put it into the new ones.
If you don't need to save state, then its dead simple to just
construct a new DirectManipulationRendererJ3D.
Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
hibbard@xxxxxxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html