Hi Nico,

I looked at the modifications and the addition of the getDisplayModelIndex to the JmolViewer does allow

I had expected the implementation of a method in the Viewer that would allow one to get the array of atoms for a particular ModelIndex, as opposed to having to loop through all the atoms and determining whether they are in the desired model to see whether or not they need to be ignored. If one were to write a multi-step xyz file for a subset of models in the input, one would have to loop through all atoms for every model to be output in a step...

Then again, if one returns an array of references to the the low level atom class, one probably could modify them, which would cause problems since the viewer may not know about the modifications (i.e., one would really want a 'read-only' version of the AtomSet that is associated with a modelIndex...).

On an aside I wonder whether it is possible to create an input file that has bonds between atoms that are part of different models. I don't see a reason to do that, but I also think it should not be possible...

Ren�


On Dec 30, 2004, at 7:39 PM, Nicolas Vervelle wrote:

Hi Ren�,

I just committed modifications to the Povray output.
Now, you can choose to :
- output only the currently displayed "model" and render it in a frame
or
- output all the "models" and render each of them in a separate frame

Hope this is what you wanted



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to