[Chimera-users] suggestion: reset list
Tom Goddard
goddard at sonic.net
Wed Feb 6 11:12:32 PST 2013
Hi Matt,
There is a Python script camerapositons.py on the Chimera scripts web page that does this.
http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts
It only reports name, camera position, and field of view. If you want other parameters you could modify that Python script. The camera parameters are defined in the following C++ header.
http://plato.cgl.ucsf.edu/trac/chimera/browser/trunk/libs/_chimera/Camera.h
For instance, you'll see the method "fieldOfView()" there and that is used in the Python script as cam.fieldOfView.
The workings of the Chimera camera are pretty arcane. It always points in the negative z direction. It move along the z axis to control depth, and along x and y to control center of view. The models rotate to handle scene rotations.
Tom
On Feb 5, 2013, at 11:35 PM, "Dougherty, Matthew T" wrote:
> It would be helpful to have a variant of "reset list" which would supply the camera values that are tab delimited alongside the position names.
>
> I am trying to get scale factor, hFOV, etc into a spreadsheet for analysis.
>
>
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>
More information about the Chimera-users
mailing list