Otis,

Your thoughts are helpful. Your comments on needing to click on two  
atoms to select the bond, suggests to me that if we could accept bond  
selection by clicking in the middle of the bond, you think it would be  
better.

My colleague is looking for something that works inside the  
application not on a web page.

So here's what I'm thinking so far (to be implemented in the  
application and in some way in the applet as well):

1) The user selects a group of atoms by clicking on the atoms.
2) The user selects a bond to rotate the group about by clicking the  
center of the bond (ideally) or selects the bond by clicking on either  
end (this will require some way of telling the program that this is a  
bond selection).
3) The rotation  group is set to just be the selected atoms so the  
normal mouse drag can be used for the rotation.

Does that sound good?

Jonathan
On Apr 14, 2010, at 12:44 PM, [email protected]  
wrote:

> Message: 4
> Date: Wed, 14 Apr 2010 13:43:25 -0400
> From: Otis Rothenberger <[email protected]>
> Subject: Re: [Jmol-users] Want some opinions on rotation about bond
>       before posting a feature request...
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Jonathan,
>
> I'm working on this right now. Currently, we use unbind and bind to
> allow mouse rotation and translation of separate models in a Jmol
> window. In the same application, we use the two atom click system that
> you mention for bond rotation definition. This is followed by the need
> to click a rotate button. I'm trying to use the same logic that we use
> with the independent movement of molecules via mouse movement. I think
> it's doable.
>
> While the feature (independent movement of two model) must be turned  
> on
> and off, it's painless once it's on. A hover callback does all the
> required selection. That's the part of the code that I'm working on  
> now
> for bond rotation. Writing an appropriate hover callback for the bond
> rotation. I will say that so far I see no way around the two atom  
> click
> definition of the bond axis. If anyone has an idea of how a hover
> callback could define this, please send suggestions. In the case of
> using hover to define (select) one or the other model of a two model
> system, it's pretty easy. They are not connected. For a single  
> connected
> system, hover could select the hovered atom and maybe even pick up the
> required second atom, but subsequent mouse movement could easily screw
> up these selections.
>
> Otis

                          Dr. Jonathan H. Gutow
Chemistry Department                                 [email protected]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/facstaff/gutow






------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to