[Gate-users] Can't see daughter volume
Chekdob Bagdob
checkdobbagdob at gmail.com
Mon Jan 30 15:13:19 CET 2017
Dear GATE users,
I am using GATE 7.2. Recently I started reading manual. The
first code I have tried,
Idle> /vis/open OGLSX
Idle> /vis/viewer/reset
Idle> /vis/viewer/set/viewpointThetaPhi 60 60
Idle> /vis/viewer/zoom 1
Idle> /vis/viewer/set/style surface
Idle> /vis/drawVolume
Idle> /tracking/storeTrajectory 1
Idle> /vis/scene/endOfEventAction accumulate
WARNING: The vis manager will keep up to 100 events.
This may use a lot of memory.
It may be changed with, e.g., "/vis/scene/endOfEventAction accumulate 10".
Idle> /vis/viewer/update
This shows a cubic volume in OpenGLStoredX viewer.
Idle> /gate/geometry/setMaterialDatabase GateMaterials.db
Idle> /gate/world/geometry/setXLength 40. cm
Idle> /gate/world/geometry/setYLength 40. cm
Idle> /gate/world/geometry/setZLength 40. cm
Idle> /gate/world/daughters/name cylindricalPET
Idle> /gate/world/daughters/insert cylinder
CREATED THE COMMAND /gate/systems/cylindricalPET/addAnewRsector
Idle> /gate/cylindricalPET/setMaterial Water
Idle> /gate/cylindricalPET/geometry/setRmax 100 mm
Idle> /gate/cylindricalPET/geometry/setRmin 86 mm
Idle> /gate/cylindricalPET/geometry/setHeight 18 mm
Idle> /gate/cylindricalPET/vis/forceWireframe
Idle> /vis/viewer/zoom 3
But after that viewer is not showing any cylindrical volume.
Satyajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170130/7eb35874/attachment.html>
More information about the Gate-users
mailing list