| 1 | #
|
|---|
| 2 | # Create a scene handler/viewer for a specific graphics system
|
|---|
| 3 | # The compound command "/vis/open <vis-driver-name>"
|
|---|
| 4 | # is equivalent to the following set of commands:
|
|---|
| 5 | #
|
|---|
| 6 | # /vis/sceneHandler/create
|
|---|
| 7 | # /vis/viewer/create
|
|---|
| 8 | #
|
|---|
| 9 | # Create a scene handler and a viewer for the OGLIXm driver
|
|---|
| 10 | #
|
|---|
| 11 | /vis/open OGLSXm
|
|---|
| 12 | #
|
|---|
| 13 | #/vis/viewer/set/style surface
|
|---|
| 14 | /vis/viewer/set/style wireframe
|
|---|
| 15 | #
|
|---|
| 16 | # Set direction from target to camera.
|
|---|
| 17 | /vis/viewer/set/viewpointVector 1 1.5 1.1
|
|---|
| 18 | /vis/viewer/set/viewpointThetaPhi 110 140
|
|---|
| 19 | /vis/viewer/zoom 1.4
|
|---|
| 20 | #
|
|---|
| 21 | # The compound command "/vis/drawVolume"
|
|---|
| 22 | # is equivalent to the following set of commands:
|
|---|
| 23 | #
|
|---|
| 24 | # /vis/scene/create
|
|---|
| 25 | # /vis/scene/add/volume
|
|---|
| 26 | # /vis/sceneHandler/attach
|
|---|
| 27 | # Create an empty scene and add the detector geometry to it
|
|---|
| 28 | /vis/drawVolume
|
|---|
| 29 | #
|
|---|
| 30 | # Store particle trajectories for visualization
|
|---|
| 31 | # (if too many tracks cause core dump => storeTrajectory 0)
|
|---|
| 32 | /tracking/storeTrajectory 2
|
|---|
| 33 | #
|
|---|
| 34 | # Add trajectories to the current scene
|
|---|
| 35 | /vis/scene/add/trajectories smooth
|
|---|
| 36 | #
|
|---|
| 37 | # Requests viewer to accumulate hits, tracks, etc. at end of event.
|
|---|
| 38 | # detector remains or is redrawn.
|
|---|
| 39 | /vis/scene/endOfEventAction refresh
|
|---|
| 40 | #/vis/scene/endOfEventAction accumulate
|
|---|
| 41 | #
|
|---|
| 42 | #/event/drawTracks charged
|
|---|