VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jul 29 2004 - 10:53:38 CDT
- Next message: John Stone: "Re: stereo with GForce video board"
- Previous message: John Stone: "Re: Compiling VMD"
- In reply to: pinisetty dinesh: "angles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dinesh,
There isn't a built-in feature to calculate the Euler angles
corresponding to the view direction, but you could calculate them
by assuming the default orientation of positive Z pointing towards you,
positive Y up, and positive X to the right. From there, you can transform
those direction vectors by the VMD transformation matrices and measure
angles as you see fit with a little Tcl code. You'd need to write the
code for this. Another way to go would be to use Display->reset view
and then perform angular rotations in x, y, z with the "rotate by" commands:
display resetview
rotate x by 10
rotate y by 30
rotate z by -30
Then you'd of course know what your angles are. If you're not up for
writing complex scripts, then that's probably a simple trial-and-error
method for getting what you want.
John Stone
vmd_at_ks.uiuc.edu
On Wed, Jul 28, 2004 at 07:11:12PM -0700, pinisetty dinesh wrote:
> Hi all,
> I am very new user to VMD.Today I installed it in
> my machine.I just want to know how can we note the
> rotation angles in x,y and z directions.
> I have single molecule pdb file which I viewed in
> VMD I want to know its angles in x, y and z
> directions.
> Please let me know this.
> Thanks a lot in advance.
> DINESH.
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
-- 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: John Stone: "Re: stereo with GForce video board"
- Previous message: John Stone: "Re: Compiling VMD"
- In reply to: pinisetty dinesh: "angles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]