Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

RE: center of rotation for three-d views?

This is a multipart message in MIME format.
--=_alternative 0065069885256DFF_
Content-Type: text/plain; charset="US-ASCII"

>Yes, you can do anything you want with the getMatrix()
>and setMatrix) methods of ProjectionControl. For a
>DisplayImplJ3D, this is just the standard Java3D 4x4
>matrix. You can create an extension of the MouseBehaviorJ3D
>class to interpret mouse events in new ways. Your extension
>must have the constructor signatures that takes a
>DisplayRendererJ3D argument, then you pass the class of
>your extension to DisplayRendererJ3D constructor that
>takes the 'Class mbj3dClass' argument.

I was wondering if I might have a few signposts here; what methods
in the extension of MouseBehavior3D would need to be implemented? Or
would I need to create a new version of MouseHelper?

On a different note, is it possible to have "pick-like" things happen on
a hover, rather than on a "click"? (Such as popping up information on the
point you are over)

Thanks, Donna




--=_alternative 0065069885256DFF_

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690