Hi,
I believe that FSLview is not scriptable for such a thing. VTK does
provide functionality to get snapshots, but it needs to be added to the
C++ code and tied to the GUI.
Cheers,
Brian
> Hi Jim
>
> On Tue, Mar 17, 2009 at 06:50, James Porter <[log in to unmask]> wrote:
>> Are all of FSLview's GUI commands accessible via command line scripting?
>> If
>> so, could you point me towards documentation? Specifically, I would like
>> to
>> have commands to take a snapshot of 3D renderings. Thanks!
>
> I can't say that I know how to do this using fslview itself but I have
> used things like this:
>
> http://hoopajoo.net/projects/xautomation.html
>
> In the past to script nigh on anything. Just use something like
> imagemagicks import (using the window id) Or you could get all funky
> and hairy with X and do something like this:
>
> # get the window ID of fslview
> xlsclients -l | some-wierd-grep-perl-awk combination to get the window
> ID
>
> # get the window using import
> import -window 0x2c00001 output.jpg
>
> Of course you will have to insert something else for 0x2c00001
>
>
> --
> Andrew Janke
> ([log in to unmask] || http://a.janke.googlepages.com/)
> Canberra->Australia +61 (402) 700 883
>
>
|