Bob Hanson wrote:
...
AS A USER, WHAT DO YOU WANT?

a) Do you implement callbacks? If so, which ones?
I only use pickCallback to monitor user picking and messageCallback to
evaluate current orientation.

b) What WOULD you use if you had it available?
the monitor/measure command, especially if there is no need for atom
numbers but select expressions could be used
the show selected command to evaluate current selection


c) What sort of information (exactly) are you looking for?
depends on the status of set picking, in most cases
set picking atom

show orientation
show center

RasMol>show selected group

RasMol>set picking distance


d) Is there a particular format that you would like to see,
   other than just the current text-stream of messages?
I like the ready to use command line like output, e.g.
picking should result in a ready to use select expression
[LYS]54.CD #798
is OK, it isn't difficult to filter e.g. [LYS]54.CD from this.

$ show orientation
moveto 1 -1000 0 0 180.0;
OR
reset; rotate z 180.0; rotate y 180.0;

RasMol>show selected group
should result in a select expression


e) Is it important to you that this mechanism be backward
   compatible?
As long as the information is still accessible, no.


MORE SPECIFC QUESTION:

1. There are currently four callbacks:

animFrameCallback
loadStructCallback
pickCallback
select expression

messageCallback
moveto
select expression

distance/angle measurement data

Each of these fulfills an obvious need.
Should there be more "callback-like" options?
If so, what?

picking
   ident|position|measure
status
   orientation
   center

   structure
   bound
selection
   group|atom
measure
   distance|angle|torsion|phipsi

Regards, Jan

The evolving test page for this project can be found at
http://www.stolaf.edu/people/hansonr/jmol/test/json/callback.htm

nice,
atomInfo especially the tailing select expression  atomInfo[0].info



Bob Hanson





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to