Thank you to Rolf, Angel and Richard for answers!
I will certainly use "zoomto" command.
But just for my education - is there any way to get "current" coordinates
of particular atom, which theoretically makes possible (because we know
coordinates of the center) to calculate desired rotation?
2015-03-16 17:55 GMT+04:00 Rolf Huehne <[email protected]>:
> On 03/16/2015 01:26 PM, seven32 wrote:
> > Hi All,
> >
> > I am developing a webpage that use Jmol.
> > In this page user will be able to open PDB molecule and navigate through
> a
> > list of residues in a separate table.
> > I would like to add a functionality that allows user to see a particular
> > residue which he selects it in a table. For that reason, I would like to
> > rotate a protein in Jmol to show user a residue that he selected in a
> > table, i.e. to rotate protein in such a way that particular residue would
> > be in a center of a window at the front side of the protein.
> >
> Maybe the 'zoomto' command is already sufficent for this purpose.
> It doesn't include a rotation but it can center and zoom in to a
> specified set of atoms in a smooth motion.
>
> Examples:
> zoomto {selected} 0
> zoomto {resno=3} 0
>
> Please look at the Jmol scripting documentation for the details:
> http://jena3d.fli-leibniz.de/doc/jmol_scripting/index.htm?ver=14.2#zoomto
>
> You can see an implementation for a similar purpose in our 'Jena3D Viewer':
>
> 1) Load page
>
> jenalib.fli-leibniz.de/cgi-bin/3d_mapping.pl?CODE=1a9v&VIEW=variant&APPLET=html5
> 2) Activate the checkbox 'auto zoom/center' near the top
> 3) Use the '>' and '<' buttons in the 'SAPs(SNPs)/Variants' section
> to navigate through all SNP residues or choose one from the pulldown menu.
>
> Regards,
> Rolf
> --
>
> Rolf Huehne
> Postdoc
>
> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
> Beutenbergstrasse 11
> 07745 Jena, Germany
>
> Phone: +49 3641 65 6205
> Fax: +49 3641 65 6210
> E-Mail: [email protected]
> Website: http://www.fli-leibniz.de
>
> Scientific Director: Prof. Dr. K. Lenhard Rudolph
> Head of Administration: Dr. Daniele Barthel
> Chairman of Board of Trustees: Dennys Klein
>
> VAT No: DE 153 925 464
> Register of Associations: No. 230296, Amtsgericht Jena
> Tax Number: 162/141/08228
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users