> That was on the user list -- I'm switching to developers until this is > rock solid.
good idea > First a comprehensive review of where this VISIBLE_FLAG is involved: [snip] > 3. observations: > > zoom, translation, etc. have no effect on "select visible" > pretty much it does as advertised, Depends upon who is doing the advertising. Since my intent was 'visible on the screen', the fact that a totally clipped atom gets tagged as 'visible' might be considered a performance bug. > with ONE exception: > > The CartoonRenderer for nucleic acids is setting the VISIBLE flag so > that atoms of the base pairs still are clickable and respond to > mouse-overs for the hover. I makes reasonable sense to me. That was put in there for Eric. > Like > backbone, these positions really are atom positions. So they really > are the only "visible" set. What this actually does is pass on the > responsibility of identifying atoms as visible to Balls. That sounds right. The problem is that over time we are liable to add more things to this. > I'm satisfied that we are OK here. Of all the protein shapes, only > two, backbone and cartoon (for nucleic acids only), display actual > atoms, and those atoms are coming in as visible. > > Here's a recrafted documentation statement: > > An atom is "visible" if the atom is in a displayed frame and one of > the following is true: > > a. it has spacefill > 0 > b. it has wireframe > 0 > c. it has a halo highlight > d. it has a star highlight > e. it is part of a displayed backbone > f. it is part of a displayed nucleic acid base cartoon I am very uncomfortable with this. There is too much integration between the rendering code and the atom expressions. I feel strongly that you should define the functionality that you want for the 'visible' set and freeze it. We should then implement that set directly. Miguel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
