Warning, /geant4/examples/extended/exoticphysics/channeling/ch5/macros/vis.mac is written in an unsupported language. File is not indexed.
0001 #Macro for the visualization
0002
0003 #Create an empty scene
0004 /vis/scene/create
0005
0006 #Create a scene handler for a specific graphics system
0007 /vis/open OGL
0008 #/vis/open DAWNFILE
0009 #/vis/open VRML2FILE
0010
0011 #Draw the scene
0012 /vis/drawVolume
0013 /vis/viewer/flush
0014
0015 #Set the camera
0016 /vis/viewer/reset
0017 /vis/viewer/set/viewpointThetaPhi 135. 45. deg
0018 /vis/viewer/zoom 0.5
0019
0020 #Specify style (surface, wireframe, auxiliary edges,...)
0021 /vis/viewer/set/style wireframe
0022 /vis/viewer/set/lineSegmentsPerCircle 100
0023
0024 #geometry
0025 #/vis/geometry/set/lineWidth all 1 3
0026 #/vis/geometry/set/colour EdgeLogic 1 0 0 0
0027
0028 #Decoration
0029 #Axes
0030 /vis/set/lineWidth 3
0031 /vis/scene/add/axes 0 0 0 0.10 m #Simple axes: x=red, y=green, z=blue.
0032 #Name
0033 #/vis/set/textColour red
0034 #/vis/set/textLayout right
0035 #/vis/scene/add/text2D 0.9 -.9 24 ! ! ch5
0036 #Frame
0037 #/vis/set/colour red
0038 #/vis/set/lineWidth 2
0039 #/vis/scene/add/frame #Simple frame around the view
0040 #/vis/set/colour #Revert to default colour (white)
0041 #/vis/set/lineWidth #Revert to default line width (1.)
0042
0043 #Commands for the drawing the tracks
0044 /vis/scene/add/eventID #Drawn at end of event
0045 /tracking/storeTrajectory 0 #(if too many tracks cause core dumped => storeTrajectory 0)
0046 /vis/scene/endOfEventAction accumulate
0047 /vis/scene/add/trajectories smooth rich
0048 #/vis/modeling/trajectories/create/drawByParticleID
0049 /vis/modeling/trajectories/create/drawByCharge
0050 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
0051 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
0052
0053 #Draw hits at end of event:
0054 /vis/scene/add/hits
0055
0056 #Geometry test (it can cause a "core dumped", directly or whrn trying to launch a particle)
0057 #/geometry/navigator/reset
0058 #/geometry/test/run