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.
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
visad
archives: