Remind me what you want to do.

There is already a callback so that your code will get called every time a
user clicks on an atom.


Miguel

> It appears that JmolViewer also lacks the key method:
> findNearestAtomIndex(e.getX(),e.getY())
> It might be in org.jmol.viewer.Viewer but I'm having a hard time
> finding it
> I will look.
> thanks
>
> B
> On Jul 12, 2005, at 5:01 AM, Miguel wrote:
>
>> Thanks for the reminder.
>>
>> I am still travelling and will not be able to get to this for at least
>> a
>> few weeks ...
>>
>> Q: Have you tried the 'JmolViewer' instead of the 'JmolSimpleViewer' ?
>>
>>
>> Miguel
>>
>>> Miguel -
>>>     It was good to see you at the GRC last week.  We talked about a jmol
>>> issue & I wanted to remind you of it. We talked about having the
>>> jmolsimpleviewer output 'event strings' when things happen (like
>>> clicking on an atom, rotations, etc).  If this outputs x,y coordinates
>>> of the atom clicked on, I would need a way to get out the atom info (I
>>> think such a method already exists, but I''m not sure that it is
>>> available to a simple viewer). Let me know if you think this is
>>> do-able
>>> (or, if it is easier, let me know where to find it in the code and I
>>> can try to get the atom info out myself).
>>>     Thanks!!
>>>
>>> Brian
>>> ----------
>>> Professor Brian White
>>> Biology Department
>>> UMass Boston
>>> 100 Morrissey Blvd
>>> Boston, MA 02125
>>> (617) 287-6630
>>> (617) 287-6650 (fax)
>>> http://intro.bio.umb.edu/BW/
>>>
>>>
>>
>>
>>
>>
> ----------
> Professor Brian White
> Biology Department
> UMass Boston
> 100 Morrissey Blvd
> Boston, MA 02125
> (617) 287-6630
> (617) 287-6650 (fax)
> http://intro.bio.umb.edu/BW/
>
>


-----
Open Source Molecular Visualization
www.jmol.org
[EMAIL PROTECTED]
-----



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to