Hi Kevin,
tksurfer is great, but I need your advice about something bugging me ---
maybe you experience it also.
I am trying to run a script that flips views and saves out tiff files.
I want to do this with a large window, so I have the following near the
start of the tcl script:
move_window 0 0
resize_window 1000
redraw
update
UpdateAndRedraw
Whenever I call this script for tksurfer, whether using the -tcl option
or through tools->Run Script or by source at the tcl command prompt, it
runs all the commands in the script after these commands before actually
updating the screen position and size. This is despite the 'update'
commands. This means that when the commands to rotate the view and save
out graphics are actually executed, the window is not the right size.
This a real puzzle that bugs me and I can't debug it. I don't fully
understand the process model at work here. I can't tell whether this is
a tcl, opengl, gnome or kernel scheduling issue (but I think it works in
that order).
Is this common to all systems or have I got a quirk? I'm running Debian
stable (mostly), with nvidia kernel module in a 2.6.8 kernel.
Best, Darren
--
Darren L. Weber, Ph.D.
Postdoctoral Scholar
Dynamic Neuroimaging Laboratory,
UCSF Department of Radiology,
185 Berry Street, Suite 350, Box 0946,
San Francisco, CA 94107, USA.
Tel: +1 415 353-9444
Fax: +1 415 353-9421
www: http://dnl.ucsf.edu/users/dweber
"To explicate the uses of the brain seems as difficult
a task as to paint the soul, of which it is commonly
said, that it understands all things but itself."
Thomas Willis (The Anatomy of the Brain and Nerves, 1664)
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer