window synchronisation by using anatomist commands
Posted: Thu May 04, 2006 11:08 am
Hi,
I am presently writing anatomist scripts for quick generation of snapshot images. I have two windows in referential #1, one brain in referential #2, another one in referential #3.
Then I load transformation from #2 to #1 and transformation from #3 to #1.
Finally, I set common camera parameters in both windows (view_quaternion, observer_position and zoom).
After all these commands, the two brains are not completely registered. I do not understand why.
However, when applying manually "synchro" on the two windows, registration is done and is correct.
How can I integrate this "synchro" command into my anatomist script ?
Thank you
François
I am presently writing anatomist scripts for quick generation of snapshot images. I have two windows in referential #1, one brain in referential #2, another one in referential #3.
Then I load transformation from #2 to #1 and transformation from #3 to #1.
Finally, I set common camera parameters in both windows (view_quaternion, observer_position and zoom).
After all these commands, the two brains are not completely registered. I do not understand why.
However, when applying manually "synchro" on the two windows, registration is done and is correct.
How can I integrate this "synchro" command into my anatomist script ?
Thank you
François