VMD-L Mailing List
From: Jancsó István (jancso.istvan_at_gmail.com)
Date: Thu Jan 25 2007 - 02:29:55 CST
- Next message: Epiphaniou, Nicholas: "Error when compiling Plugins from source code"
- Previous message: John Stone: "Re: how to run membrane.tcl from user-defined location ?"
- In reply to: John Stone: "Re: Getting (or changing) molinfo matrices"
- Next in thread: John Stone: "Re: Getting (or changing) molinfo matrices"
- Reply: John Stone: "Re: Getting (or changing) molinfo matrices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi!
Thanks for your answer! In the meanwhile I found potential reason
of my problem (by source code). If I translate molecule by mouse
(Mouse/Move/Molecule menu) center_matrix is not updated, only
"mol->current()->pos" changed. Does it mean, that I should write
coordinates of all atoms in molecules?
Thanks a lot again
Istvan
2007/1/24, John Stone <johns_at_ks.uiuc.edu>:
>
> Hi,
> Please have a look at the VMD save state script (attached to this
> email). It accesses the various viewing/orientation matrices, both
> reading and writing, writes them to a saved state script file, and
> generates the appropriate commands to restore them.
>
> Cheers,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Wed, Jan 24, 2007 at 10:49:28AM +0100, Jancsó István wrote:
> > Hi all!
> >
> >
> > I loaded two molecules for VMD, selected Mouse/Move/Molecule from menu,
> > and moved molecules distinctly. But these commands:
> >
> > puts[molinfo 0 get {center_matrix rotate_matrix scale_matrix global_matrix}]
> > puts[molinfo 1 get {center_matrix rotate_matrix scale_matrix global_matrix}]
> >
> > printed same matrices. This incident effects that I can't save positions
> > of molecules to the session files.
> >
> > How can I change (or read correctly) these matrices...?
> >
> >
> > Best regards
> >
> > Istvan
>
> --
> NIH Resource for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> Email: johns_at_ks.uiuc.edu Phone: 217-244-3349
> WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
>
>
>
- Next message: Epiphaniou, Nicholas: "Error when compiling Plugins from source code"
- Previous message: John Stone: "Re: how to run membrane.tcl from user-defined location ?"
- In reply to: John Stone: "Re: Getting (or changing) molinfo matrices"
- Next in thread: John Stone: "Re: Getting (or changing) molinfo matrices"
- Reply: John Stone: "Re: Getting (or changing) molinfo matrices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]