Tommi (& Egon)

I have done some work on the interface you should use to fetch the data
from Jmol.

After giving it some thought I realized that one api, the
JmolModelAdapter, should be used for both importing data into Jmol and
exporting data out of Jmol.

So, I added a method
  JmolViewer.getExportModelAdapter()

Which will return an instance of the JmolModelAdapter.

A few of the methods do not make sense and will only return null. But the
important methods of iterating over the atoms and bonds should work fine.

Note that I have *not* actually tested this code ... so do not waste time
if something is not working ... if it seems broken then it probably is.

I am going to put some comments in JmolViewer to give a little more
information about this method.


Miguel





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to