Rev | Line | |
---|
[807] | 1 | # |
---|
| 2 | # Macro file for the initialization phase of "PurgMag.cc" |
---|
| 3 | # |
---|
| 4 | # Sets some default verbose |
---|
| 5 | # and initializes the visualization. |
---|
| 6 | # |
---|
| 7 | #/control/verbose 2 |
---|
| 8 | #/run/verbose 2 |
---|
| 9 | # |
---|
| 10 | # Create empty scene ("world" is default) |
---|
| 11 | /vis/scene/create |
---|
| 12 | # |
---|
| 13 | # Add volume to scene |
---|
| 14 | /vis/scene/add/volume |
---|
| 15 | # |
---|
| 16 | # Create a scene handler for a specific graphics system |
---|
| 17 | # Edit the next line(s) to choose another graphic system |
---|
| 18 | # |
---|
| 19 | #/vis/sceneHandler/create DAWN |
---|
| 20 | #/vis/sceneHandler/create DAWNFILE |
---|
| 21 | /vis/sceneHandler/create OGLIX |
---|
| 22 | #/vis/sceneHandler/create VRML2FILE |
---|
| 23 | # |
---|
| 24 | # Create a viewer |
---|
| 25 | /vis/viewer/create |
---|
| 26 | # |
---|
| 27 | # viewpoint : (theta,phi) = (#*deg, #*deg), |
---|
| 28 | # zoom factor: # |
---|
| 29 | # coordinate axes: |
---|
| 30 | # x-axis:red, y-axis:green, z-axis:blue |
---|
| 31 | /vis/viewer/reset |
---|
| 32 | /vis/viewer/set/viewpointThetaPhi 90 0 |
---|
| 33 | /vis/viewer/zoom 1.5 |
---|
| 34 | #/vis/draw/axes 0 0 0 500 |
---|
| 35 | #/vis/draw/text 0 0 0 mm 5 -120 -200 Assorbitore.0 |
---|
| 36 | # |
---|
| 37 | # |
---|
| 38 | # Draw scene |
---|
| 39 | /vis/scene/notifyHandlers |
---|
| 40 | # for drawing the tracks |
---|
| 41 | # if too many tracks cause core dump => storeTrajectory 0 |
---|
| 42 | /tracking/storeTrajectory 1 |
---|
| 43 | /vis/scene/endOfEventAction accumulate |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.