[Gate-users] Automatically save an image of the camera setup

Ida Häggström ida.haggstrom at radfys.umu.se
Wed Dec 14 10:54:41 CET 2011

Hello again!
I found a solution to my own problem!
Just add:

/vis/ogl/set/printMode vectored  <--- or "pixmap" instead of vectored

to your code and you'll save the current window (OGLSX) as an EPS in your
current directory... It doesn't seem to save a visualized source however,
but visualizations of the camera, phantom and such are saved.

2011/12/14 Ida Häggström <ida.haggstrom at radfys.umu.se>

> Hello gaters!
> I wonder if anyone knows if there's a way to automatically (i.e vie the
> command prompt so you can add it to a macro) save an image of the camera
> setup in GATE? And if you can create and save an image without having to
> display it first (if you for example run on a remote computer with no
> visualization possibilities)...?
> Cheers,
> Ida
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

More information about the Gate-users mailing list