Rev | Line | |
---|
[807] | 1 | # |
---|
| 2 | # Macro file for the initialization phase of "exampleN03.cc" |
---|
| 3 | # when runing in interactive mode |
---|
| 4 | # |
---|
| 5 | # Sets some default verbose |
---|
| 6 | # |
---|
| 7 | /control/verbose 2 |
---|
| 8 | /control/saveHistory |
---|
| 9 | /run/verbose 2 |
---|
| 10 | # |
---|
| 11 | # create empty scene |
---|
| 12 | # |
---|
| 13 | /vis/scene/create |
---|
| 14 | # |
---|
| 15 | # Create a scene handler for a specific graphics system |
---|
| 16 | # (Edit the next line(s) to choose another graphic system) |
---|
| 17 | # |
---|
| 18 | |
---|
| 19 | /vis/open OGLIX |
---|
| 20 | |
---|
| 21 | # |
---|
| 22 | # draw scene |
---|
| 23 | # |
---|
| 24 | # |
---|
| 25 | /vis/viewer/flush |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | # for drawing the tracks |
---|
| 29 | # (if too many tracks cause core dump => storeTrajectory 0) |
---|
| 30 | |
---|
| 31 | /tracking/storeTrajectory 1 |
---|
| 32 | /vis/viewer/set/viewpointThetaPhi 60 30 |
---|
| 33 | |
---|
| 34 | # this is not to redraw every single event |
---|
| 35 | |
---|
| 36 | /vis/scene/endOfEventAction accumulate |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.