Re: AW: RendererJ3D.setLinks: already set

Hi Mathias,

> > If you don't need to save state, then its dead simple to just
> > construct a new DirectManipulationRendererJ3D.
> 
> That's fairly simple. But it was my fault to only speak of a
> DirectManipulationRendererJ3D. In fact I don't know what kind of
> Renderer will be added to the display (Cause that's the choice of the
> user). Could be a DefaultRenderer or any kind of
> DirectManipulationRenderer. And not every Renderer has a standard
> constructor. So I think the best way for me would be a clone()-method
> for DataRenderers. But because there is none I need another way to clone
> any Renderer. Any suggestions?

You are right, DataRenderer needs to support clone(). But
it would only clone the variables set directly by the
constructors, as there is no reason to clone any intermediate
state of a DataRenderer. We will look into doing this.

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


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