[Chimera-users] Get rotation between two views?
Oliver Clarke
olibclarke at gmail.com
Tue May 10 10:08:36 PDT 2022
Thanks Elaine!
Yes, when two views are related by a simple rotation that is what I do too - for more complicated cases it might be useful to have a function to get the view difference between two saved views in terms of rotations around the X,Y,Z axes.
Cheers
Oli
> On May 10, 2022, at 12:59 PM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>
> Hi Oliver,
> Not exactly -- the closest thing I can think of is ChimeraX command "view matrix" but then you'd have to figure it out by comparing the camera matrices given for the two views, if that's even possible.
>
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix>
>
> When I make figures that differ by N-degree rotation I have to just save one view, then use a command to make that exact rotation, and then save another view before saving the session.
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
>> On May 10, 2022, at 8:50 AM, Oliver Clarke via Chimera-users <chimera-users at cgl.ucsf.edu> wrote:
>>
>> Hi,
>> In either Chimera or X, is there a way to obtain the orientational relationship between two views?
>>
>> E.g. if I have two views saved, I would like to be able to say "view 1 is related to view 2 by a 45deg rotation about X and a 25deg rotation about Y" - this would be very useful for figure making/writing purposes. Does this exist?
>>
>> Cheers
>> Oli
>
More information about the Chimera-users
mailing list