> I am not completely familar with the current architecture of Jmol so I > may just be out of date. I want to be able to receive events such as: > - AtomSelectedEvent > - AtomClickedEvent > - MoleculeTransformedEvent, etc. > > and for my application to be able to use these. If they are already > there, please excuse me - I was responding with a general shopping list. No, you are absolutely right. There are no hooks in Jmol for an application to be able to received these events.
But now I see where you are going. You want to be able to completely drive Jmol (either as a subsystem or as a separate app) from another application. I was thinking of Jmol as a standalone app rather than a "rendering subsystem".
What you are proposing/asking for makes good sense.
Let me give an example. I have code which calculates the stereochemistry of an atom (from 3D and 2D diagrams and Cahn-Ingold-Prelog (an algorithm based on atom types)). I want to be able to select and atom in Jmol, extract it as an object, calculate some property or do some calculation *in my own library* and perhaps add the result for visual display.
>> OK, so you want a new syntax/language. And you want an event recorder. >> > My shopping list did not necessarily imply I thought the functionality > was missing - I simply wanted to list those things I wanted. :-) OK
>> * deleting atoms (and I don't like this one anyway :( > > I don't like that one either! It would trun Jmol into an editor and that > is a lot of extra work I have asked Egon about taking it out. He said that it has been asked for several times.
The RasMol/Chime scripting functionality allows you to hide individual atoms & bonds. This functionality is not yet available in the UI.
I have not yet asked Egon, but I am going to propose that "delete" be replaced with "hide"
Fully agreed. I meant to write that in my last message. It is very important to be able to turn atom display on or off
> I should probably revist the rasmol syntax and see what functionality is
P.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
