[Gate-users] Problems with visualization
Pietrzyk, Uwe
u.pietrzyk at fz-juelich.de
Fri Feb 3 13:34:46 CET 2017
Hi Alesandro,
there were some commands missing. Please see the test.mac file in the attachment.
Maybe it would be a good idea to use one of the examples which come with the GATE
distribution or also the EduGATE examples, were you can learn , how to arrange
a simulation.
Kind regards, and best wishes,
Uwe Pietrzyk
/----------------------------------------------------------------------
Prof. Dr. Uwe Pietrzyk
Diplom-Physiker
Institut für Neurowissenschaften und Medizin / INM-4
Forschungszentrum Jülich GmbH
52425 Jülich
Tel: +49-2461-61 4763
Fax: +49-2461-61 2820
Mobil: +49-162-103-4871
eMail: U.Pietrzyk at fz-juelich.de
http://www.fz-juelich.de/inm/inm-4/DE/Home/home_node.html
&
Bergische Universität Wuppertal
Fakultät für Mathematik und Naturwissenschaften
Büro: D.08.01
Gaußstr. 20
42097 Wuppertal
Tel: +49-(0)202-439-3523
Fax: +49-(0)202-439-2811
eMail: Uwe.Pietrzyk at uni-wuppertal.de
http://www.medizinphysik.uni-wuppertal.de
----------------------------------------------------------------------/
On 03 Feb 2017, at 12:48, Alessandro Bellini <ale.notc at gmail.com> wrote:
> Dear GATE users,
>
> I've just installe GATE v7.2 on Mac OSX 10.11 and I'm trying the very first step using Gate User's Guide, and I have problems after very few lines
>
> # TEST GATE MANUAL
>
> # V I S U A L I Z A T I O N
> /vis/open OGLSX
> /vis/viewer/reset
> /vis/viewer/set/viewpointThetaPhi 60 60
> /vis/viewer/zoom 1
> /vis/viewer/set/style surface
> /vis/drawVolume
> /tracking/storeTrajectory 1
> /vis/scene/endOfEventAction accumulate 10
> /vis/viewer/update
>
> # G E O M E T R Y
> /gate/geometry/setMaterialDatabase GateMaterials.db
>
> # W O R L D
> /gate/world/geometry/setXLength 40. cm
> /gate/world/geometry/setYLength 40. cm
> /gate/world/geometry/setZLength 40. cm
>
> # S Y S T E M
> /gate/world/daughters/name cylindricalPET
> /gate/world/daughters/insert cylinder
> /gate/cylindricalPET/setMaterial Water
> /gate/cylindricalPET/geometry/setRmax 100 mm
> /gate/cylindricalPET/geometry/setRmin 86 mm
> /gate/cylindricalPET/geometry/setHeight 18 mm
> #/gate/cylindricalPET/vis/setColor red
> /gate/cylindricalPET/vis/setVisible 1
> /gate/cylindricalPET/vis/forceWireframe
> /vis/viewer/zoom 3
>
> I do not see the cylinder in the viewer, I only see the zoomed world.
> Sorry for the very newbie question
>
> Thanks a lot
>
> Alessandro
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: G4OpenGL_viewer-0_0.eps
Type: image/eps
Size: 15214 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0003.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.mac
Type: image/mac
Size: 971 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0004.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4925 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170203/ea9fadfa/attachment-0005.bin>
More information about the Gate-users
mailing list