Yes, you are right. The hidden selection halos are not shown by default.
> Good. But lets take a specific example. Barium Hollandite is a simple
> channel structure, with the channels occupied by Ba.
>
> http://icsd.ill.eu/icsd/index.php?action=Search&authors=Cheary&mineral=hollandite
> .
> Again, click on the "Demo" option in the pop-up and then on the formula
> Ba1.242 (Al2.484 Ti5.516) O16 to draw the structure
>
> ok


> Now if I open a Jmol console and write:
> selectionHalos ON; select _Ba
> ALL barium atoms are selected, hidden or not.


I don't see that. I see just the visible ones highlighted.
http://chemapps.stolaf.edu/jmol/docs/examples-11/t.png



> Good. And if I write:
> selectionHalos ON; select _Ba and VISIBLE
> I can restrict the selection to the visible atoms. Good again.
>
> Now look at the difference between these two situations if I follow with:
>
> if(selectionHalos){{selected}.property_hide=1};selectionHalos OFF;select
> all and visible;isosurface cavity resolution 2.0 ignore(property_hide=1)
> minset 5 cavity 0.4 sasurface 0.15;color isosurface blue fullylit
>
> In the first case, with all hidden Ba selected, full channels are drawn.
> In the second case, only closed blobs are drawn - the channels are
> truncated because of the presence of the hidden Ba atoms :-(
>
>
Not sure what "first" and "second" cases are referring to there. In that
second case, if you ignore the hidden atoms, you will get blobs. You don't
want to ignore the hidden atoms, just not select them.

Bob

> Now I want to do this with picking, but:
> set picking SELECT SITE;
> (exceptionally) implies VISIBLE. What I would like is:
> set picking SELECT SITE ALL;
> with the qualifier "ALL" to select both visible and invisible sites.
>
> I know that I originally suggested that SELECT SITE be restricted to
> visible by default, but it is still exceptional that only SITE and ELEMENT
> are restricted to VISIBLE:
> http://chemapps.stolaf.edu/jmol/docs/index.htm?ver=11.8#setpicking
>
> > I'm not understanding why this has to be done by physically clicking...
> > If so, then it's just some sort of short script, I think.
>
> Yes, I can do it as above with "selectionHalos ON; select _Ba" but I want
> the user to be able to select with the mouse the sites he wants excluded
> from the calculation of the isosurface (which is otherwise a really nice
> tool to answer the question "what volume is available for those atoms")
>
> Alan.
>
> Robert Hanson said:
> > On Sun, Mar 14, 2010 at 9:49 AM, Alan Hewat <[email protected]> wrote:
> >
> >> Bob has immediately corrected this problem with isosurfaces for large
> >> numbers of invisible atoms in 11.9.33_dev. It works perfectly. Many
> >> thanks.
> >>
> >> Now I have an associated question :-) Why is the qualifier "VISIBLE"
> >> imposed for "set picking SELECT" with SITE and ELEMENT ? I understand
> >> that you don't normally want to draw selection halos around invisible
> >> atoms, but sometimes when you select a site, you do want the selection
> >> to apply to ALL equivalent sites, even those that are invisible.
> >>
> > The idea was simply that when one is picking atoms, it is only the
> visible
> > ones that you are selecting. There could be any number of models present
>  > but not visible, and it would not make sense to be selecting SITEs or
> > ELEMENTs from unrelated structures (for example, in multi-structure CIF
> > files. So all the set picking select options work only on the visible
> > atom set.
> >
> > You can always set up a pick callback so that you can expand the
> > selection, I think.
> >
> > Why ? In ICSD I select sites that I want to exclude from the construction
> >> of isosurfaces and label them with a property. For example, I want to
> >> exclude extraneous atoms occupying sites in zeolite channels so that I
> >> can draw the channel isosurface. But I don't know how to select the
> >> equivalent invisible sites, and this results in isosurfaces limited by
> >> those invisible occupied sites.
> >
> > I'm not understanding why this has to be done by physically clicking on
> > atoms, but in any case, you must be processing the selections specially,
> > right? The user clicks on an atom, then clicks on some other button to
> > create the isosurface?
> > If so, then it's just some sort of short script, I think.
> >
> >> A simple extension might be: "set picking SELECT SITE ALL" which would
> >> preserve the "VISIBLE" implied by "set picking SELECT SITE". (But
> >> perhaps there is an existing alternative to achieve that?)
> >
> > you mean, I think, "NOT preserve..." there?
> >
> >> To avoid selection halos being drawn around invisible atoms, you could
> >> allow an explicit VISIBLE qualifier i.e. "selectionHalos ON VISIBLE".
> >>
> > You have the option to show selectionHalos for visible atoms only. I
> think
> > it is
> > set showHiddenSelectionHalos
> > (normally FALSE)
> >
> >> The point is that sometimes you want to select even the invisible atom
> >> sites, but would prefer only the visible atom selection to be hallowed.
> >>
> > I think you need to do this in code, not by some automatic method
> > involving picking. I'm not sure exactly what the logic would be that you
> > are after, but it shouldn't be too complicated.
> >
> > Something like
> >
> > for all sites
> >   If no atom with this site is visible, then deselect all such atoms,
> > visible or not."
> >
> > Does that sound about right?
> >
> > Bob
> ______________________________________________
> Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
> <[email protected]> +33.476.98.41.68
>      http://www.NeutronOptics.com/hewat
> ______________________________________________
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to