[Gate-users] Viewing Geometry

Philipp Matthies philipp.matthies at gmx.de
Mon Mar 1 11:10:56 CET 2010


Hi,

i'm using gate_v5.0.0_p01 on MAC OSX 10.6.2.
To view the geometry you can run these commands after starting GATE or call them via script, putting them for example in 'visu.mac' and including this in your main script:

/control/execute/visu.mac

The commands are:

/vis/open OGLSX
/vis/viewer/reset
/vis/viewer/set/viewpointThetaPhi 45 45
/vis/viewer/zoom 1
/vis/viewer/set/style surface
/vis/drawVolume
/tracking/storeTrajectory 1
/vis/scene/endOfEventAction accumulate 100000
/vis/viewer/update
/gate/geometry/enableAutoUpdate

In case you use a different OS you have to replace the first line (/vis/open OGLSX) to fit to your system (e.g. /vis/open OGLSWin32 for a Windows machine).

Hope I could help you.

Greetings,
Philipp



Am 01.03.2010 um 10:38 schrieb sujoy at veccal.ernet.in:

> Dear GATE experts,
> Thanks for helping me in installing GATE in my system.Now I would like to know, after making the geometry, I would only like to view it with running GATE. How can I Do it? I am using OpenGL for viewing.  
> 
> With Regards,
> S. Chatterjee
> Scientific Officer,
> TLD Unit, BARC
> Variable Energy Cyclotron Centre,
> 1/AF, Bidhannagar,Kolkata-64
> Off:+91-33-23184207
> Fax:+91-33-23346871
> 
> _______________________________________________
> 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