Hi Peter,

   Good observations. Bug 4518203 is submitted for the
utility library. In the meantime please extend the class
and implement cloneNode to workaround it.

Thanks for your bug report.

- Kelvin
------------------
Java 3D Team
Sun Microsystems Inc.

>Delivered-To: [EMAIL PROTECTED]
>X-Accept-Language: de-DE,en,fr
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Tue, 23 Oct 2001 17:43:54 +0200
>From: Peter Rohleder <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Incomplete MouseRotate, MouseZoom and MouseTranslate
implementation?
>To: [EMAIL PROTECTED]
>
>Hi,
>
>I wanted to clone a scenegraph by using the cloneTree() methods of the
>Node-class.
>clonetree() itsself uses the cloneNode() method of the Node-class.
>
>In the documentation I can read that
>"cloneNode should be overridden by any user subclassed objects. All
>subclasses must have their cloneNode..." (see the documetation of the
>Node class).
>
>During runtime my program runs into a java.lang.RuntimeException when
>trying to execute cloneNode() on nodes of type
>com.sun.j3d.utils.behaviors.mouse.MouseRotate,
>com.sun.j3d.utils.behaviors.mouse.MouseZoom and
>com.sun.j3d.utils.behaviors.mouse.MouseTranslate.
>
>I found out that the method cloneNode() is not defined for these types
>of node.
>In this sense the implemetation of these nodes seems to be incomplete or
>not?
>
>Is there a work around or do I have to subclass these MouseBehaviors for
>the only purpose to implement the cloneNode()-method?
>
>Peter Rohleder
>
>--
>  Peter Rohleder,          mailto:[EMAIL PROTECTED]
>  Fraunhofer Institut fuer Angewandte Informationstechnik FIT
>  Schloss Birlinghoven, D-53754 Sankt Augustin, Germany
>  Tel.: +49-2241-142208;           FAX: +49-2241-142065
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA3D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to