Thank you, Bob!
I am using the Jmol application.
I will try to better explain my needs. Sorry, but I have a little difficulty
in write in English!
Im developing a distributed virtual environment to allow molecular
visualization in a high performance architecture. To do this, I chose Jmol.
Then, every high level Jmol event (rotate, zoom, etc
) must be
intercepted, processed and transmitted to all users in the environment,
according to some rules to maintain coherence and consistency.
The idea is to save all these events as a script in a database, which may
be executed latter in another session. Each command of the script would be
transmitted in real time to all participants and saved in the database. But
the event will actually run on the computer that generated only after
confirmation of receipt of this event by other participants.
I know that somebody already done this, but I will do differently, where the
performance is far superior to what already exists.
My explanation was clear?
[]s
Moacyr
De: Robert Hanson [mailto:[email protected]]
Enviada em: terça-feira, 9 de fevereiro de 2010 12:32
Para: [email protected]
Assunto: Re: [Jmol-developers] Intercepting events
Dear Moacyr,
Q: Is this using the applet and a browser or an integrated Jmol application?
Keyboard is tricky. I don't think you can do that. Why would you want to?
These are just commands, and you can intercept all commands. So maybe that
will suffice?
Check the documentation regarding "callback" functions. You can get
callbacks for mouse clicks and for command script calls. With syncCallback
you can get just about everything.
Let us know if you need help.
Bob Hanson
On Mon, Feb 8, 2010 at 11:30 AM, Moacyr Francischetti Corrêa
<[email protected]> wrote:
Hello.
I am in the final stage of my doctorate in biotechnology. My project is to
integrate Jmol in a distributed virtual environment.
I need to intercept all the events of mouse and keyboard. How can I do this?
Another question: how can I access the command scripts generated by each
event in real-time?
Thank you for your help.
Moacyr
----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers