[Chimera-users] Motion callback functions

Tom Goddard goddard at cgl.ucsf.edu
Tue Mar 20 10:32:26 PDT 2007

Hi Karin,

  I've attached some example Python code that monitors the motion of 
models in Chimera.  It registers an OpenState trigger.  For your case 
you might update the color on your plane when the plane moves but the 
map does not move.  Let me know if more details would be helpful.


Karin Gross wrote:
> Hi Tom,
> i have a question concerning rotation and translation of surface models in
> chimera.
> I want the user to be able to rotate/translate my plane via mouse, but run the
> computation of coloring and do the coloring during the movement.
> Is it possible to register a python callback for this, and get the
> rotation/translation information?
> Thanks
> -Karin

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: motion.py
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20070320/1de6cd52/attachment.ksh>

More information about the Chimera-users mailing list