Line | |
---|
1 | # $Id: vis.mac,v 1.2 2006/11/17 09:49:41 vnivanch Exp $# |
---|
2 | # |
---|
3 | # Macro file for the initialization phase of "pol01.cc" |
---|
4 | # including OpenGL visualization |
---|
5 | # |
---|
6 | # Sets some default verbose |
---|
7 | # and initializes the graphic. |
---|
8 | # |
---|
9 | /control/verbose 2 |
---|
10 | /run/verbose 2 |
---|
11 | # |
---|
12 | /run/initialize |
---|
13 | # |
---|
14 | # Create empty scene ("world" is default) |
---|
15 | /vis/scene/create |
---|
16 | # |
---|
17 | # Create a scene handler for a specific graphics system |
---|
18 | # Edit the next line(s) to choose another graphic system |
---|
19 | # |
---|
20 | /vis/open OGLIX |
---|
21 | # |
---|
22 | #/vis/open DAWNFILE |
---|
23 | # |
---|
24 | # Draw scene |
---|
25 | /vis/viewer/zoom 1.4 |
---|
26 | /vis/viewer/set/viewpointThetaPhi 60 25 deg |
---|
27 | /vis/viewer/flush |
---|
28 | # |
---|
29 | # for drawing the tracks |
---|
30 | # if too many tracks cause core dump => storeTrajectory 0 |
---|
31 | /tracking/storeTrajectory 1 |
---|
32 | /vis/scene/endOfEventAction accumulate |
---|
33 | # |
---|
34 | /run/beamOn 10 |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.