Feature Requests item #1555606, was opened at 2006-09-09 21:39
Message generated for change (Comment added) made by molvisions
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1555606&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface Improvements
Group: None
Status: Closed
Priority: 4
Submitted By: molvisions (molvisions)
Assigned to: Bob Hanson (hansonr)
Summary: color selection halos

Initial Comment:
hi,

this is pretty minor, but possibly pretty easy as a result.  might it be 
possible to be able to control the color of selection halos via a script 
command?  for example:

set display selected
select atomno=3
# gold halo around atomno 3
color halos magenta
select atomno=4
# magenta halo around atomno 4


thoughts?


thanks,


tim d




----------------------------------------------------------------------

>Comment By: molvisions (molvisions)
Date: 2006-09-14 21:36

Message:
Logged In: YES 
user_id=920824

very cool; can't wait to try it out.  thanks, Bob.

tim


----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2006-09-14 20:11

Message:
Logged In: YES 
user_id=1082841

Actually, this is a terrific idea. I've deprecated "set
display selected" because I can never remember how to undo
it. So now we have

  set selectionHalos ON/OFF

from http://www.stolaf.edu/academics/chemapps/jmol/docs/#halos

 halos
# Jmol 10.9.59 introduces the "halo" object, similar to in
action to "stars" but a ring instead of a cross. These are
the "selection halos" generalized, colorable, and sizable.
Halos have a different default color setting if generated
using "halos on" (color of the atom) or "select *;set
display selected". In the latter case, the color is the
"selectionHalos" color, originally gold, but settable using
"color selectionhalos xxxx".

load caffeine.xyz
select nitrogen
color halos red
halos 20% # default is 20% of Van der Waals radius
halos 0.5
select oxygen
color halos blue
select *;halos on # resets to the default size
halos off
select atomno<10
set selectionHalos ON
color selectionHalos yellow # only affect the uncolored ones
color selectionHalos none # back to atom-based colors
select nitrogen;color halos violet;select * # overriding
color halos none # back to the ORIGINAL atom colors
color selectionHalos gold # the original settings
set selectionHalos OFF
load 1crn.pdb
color halos group; halos on
color halos amino;
halos off


----------------------------------------------------------------------

Comment By: molvisions (molvisions)
Date: 2006-09-12 10:47

Message:
Logged In: YES 
user_id=920824

hi Bob,

as long as option 3 (explicit coloring of seleciton halos) responds to 'set 
display selected', and isn't restricted to the 'halos on' command, this sounds 
peachy to me.  IOW

select atomno=3
color halos white
set display selected

should show a white halo for atomno=3, whenever it is selected.

best,

tim


----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2006-09-12 08:43

Message:
Logged In: YES 
user_id=1082841

Idea is that 

1) there is a default halo color (already in place)

  color selectionHalo red
  set display selected

2) each selection halo can be colored based on its
underlying atom (proposed):

  color selectionHalo none

3) any selected set of atoms can have their halos explicitly
set and displayed and sized?:

  select atomno=3
  color halos white
  halos on
  halos 50%


Revise as desired.
bob


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1555606&group_id=23629

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to