Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/ICRP110_HumanPhantoms/standalone.mac is written in an unsupported language. File is not indexed.

0001 /control/verbose 2
0002 /phantom/setPhantomSection full
0003 
0004 # Open a viewer
0005 /vis/open
0006 # This opens the default viewer - see examples/basic/B1/vis.mac for a
0007 # more comprehensive overview of options. Also the documentation.
0008 
0009 # Disable auto refresh and quieten vis messages whilst scene and
0010 # trajectories are established:
0011 /vis/viewer/set/autoRefresh false
0012 /vis/verbose errors
0013 
0014 # The above creates a scene handler and a viewer but needs a scene.
0015 # (Normally this would be /vis/drawVolume but we need to specialise.)
0016 /vis/scene/create
0017 /vis/scene/add/userAction
0018 /vis/scene/add/axes
0019 /vis/scene/add/scale
0020 /vis/sceneHandler/attach
0021 
0022 # View parameters
0023 /vis/viewer/set/specialMeshRendering
0024 /vis/viewer/set/hiddenMarker true
0025 /vis/viewer/set/rotationStyle freeRotation
0026 /vis/viewer/set/viewpointVector -0.47 -0.88 0.069
0027 /vis/viewer/set/upVector 0.83 -0.42 0.37
0028 /vis/viewer/zoomTo 3.4
0029 
0030 # Re-establish auto refreshing and verbosity:
0031 /vis/viewer/set/autoRefresh true
0032 /vis/verbose warnings
0033 # Try "/vis/viewer/interpolate g4views 1000 0", which runs a cutaway
0034 #   plane through the phantom.
0035 # (See examples/extended/visualization/movies for how to create view
0036 #   files for interpolation.)
0037