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
On 4/14/2010 1:14 PM, Jonathan Gutow wrote:
> Dear Jmol Users,
>
> One of my colleagues asked for an easier way to do rotation about a
> bond than selecting the atoms in a group and then using
> "rotateSelected {ID of atom 1 of bond} {ID of atom 2 of bond}". They
> would like some kind of a GUI interface that students could use. I
> think clicking on atoms to select them is OK. It is having to use the
> command that is a problem. Any thoughts on how this should work?
> There is something working in a recent version of RasMol according to
> this colleague. Avogadro and Spartan also have relatively elegant ways
> of doing this. Once a general consensus is reached I will add it to
> the feature request list.
>
> Jonathan
> 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® 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
>
>
--
Otis Rothenberger
chemagic.com
------------------------------------------------------------------------------
Download Intel® 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