The mousebehavior callbacks are like feedback loops to the program that
allow you to know which transformgroup was acted upon by whichever
mousebehavior generated the callback.

If you look through the examples of mouse behaviors, I believe that there
is an example that does what you propose.  One object rotates by matching
the rotation imposed upon another object by a mouse rotation behavior.

  From what i recall they are statically linked which may or may not be what
you want.  If you want to be able to pick two objects with a mouse and lock
them together, then you will definitely need some type of callback feature
to identify which objects are being clicked on.





At 09:09 AM 07/11/2002 -0400, you wrote:
>Hi,
>
>Can someone tell me what I can use the interface MouseBehaviorCallback for?
>I have a JSplitPane with 2 Canvas3D objects in the split panes. I would
>like to add a feature which lets me rotate 1 image at the same time as
>another. Basically, if I rotate one image, the other image rotates with it.
>
>Thanks in advance
>
>Vijay
>
>
>__________________________________________________________________
>Your favorite stores, helpful shopping tools and great gift ideas.
>Experience the convenience of buying online with Shop@Netscape!
>http://shopnow.netscape.com/
>
>Get your own FREE, personal Netscape Mail account today at
>http://webmail.netscape.com/
>
>===========================================================================
>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".

***********************************************************************
Eric N. Reiss
Design Engineer
Swanson Center for Product Innovation
School of Engineering  - University of Pittsburgh

3700 O'Hara Street
648 Benedum Hall
Pittsburgh, Pennsylvania 15261
Phone: 412-624-9696
FAX: 412-624-7701
Email: [EMAIL PROTECTED]
http://www.sigda.org/Eric/
***********************************************************************

===========================================================================
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