Miguel wrote:


Be advised that this 'isVisible' flag was designed for internal use only.
More importantly, the concept of 'visible' is not as well-defined as one
might think.

If this makes it into 'production' code then we will need to make sure that
the concept is well-documented and well-understood.


Sure. I agree. It would go under the category of "atom expressions".
Please say more, Miguel. Perhaps what "visible" means. Currently, I think, it means:

(1) the atom is in a displayed frame

and

(2) the atom has at least one of the following:

       a. spacefill > 0
       b. wireframe > 0
       c. a halo highlight

Note that cartoons and such do NOT constitute visible, because they are not atoms.
When you have:

select *
wireframe off;spacefill off; cartoon on
select visible

you get:

0 atoms selected

The only secondary structural visualization that constitutes visible is "backbone", which is really a wireframe connection between alpha carbons in a protein or (what?) in a nucleic acid. So

select *
wireframe off;spacefill off; backbone on
select visible

gives you (for 1crn.pdb):

46 atoms selected


More to know?

Bob


-------------------------------------------------------
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&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to