Martin wrote:

> Is there a way to directly display a CDK molecule in Jmol?

Yes

> Or do I have
> to write the CDK molecule to a file and read the file from Jmol?

No, you do not need to write out a file.

Jmol reads molecular models through the org.model.api.ModelAdapter API.

File IO is normally done using an implementation of this API called the
SmarterModelAdapter.

Jmol can read CDK molecular structures using the
org.jmol.adapter.cdk.CdkModelAdapter class, another implementation of the
ModelAdapter API. The fundamental features work fine, but there may be
advanced features that are not yet in this implementation.

A developer can easily implement this interface so that any molecular
model with any representation can be displayed in Jmol.

Write Egon or me if you have questions.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to