NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

RendererJ3D.setLinks: already set

Hi all,

I have a small problem with DirectManipulationRendererJ3D. I?m adding
data to my display with a DMRJ3D. Later on I have to remove this data
with DisplayImpl.removeAllReferences() and add it again with the same
(!) DMRJ3D. Hence my code does something like that:


DataReference reference = new DataReference(?ref?);
DirectManipulationRendererJ3D renderer = new
DirectManipulationRendererJ3D();

// Do some other initializations

display.addReferences(renderer, reference);

// Do something else

display.removeAllReferences();
display.addReferences(renderer, reference);


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?

Thanks for any help, Mathias


  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: