1 | <html><head><title>Commands in /vis/</title></head> |
---|
2 | <body bgcolor="#ffffff"><h2>/vis/</h2><p> |
---|
3 | Visualization commands.<br> |
---|
4 | <p><hr><p> |
---|
5 | <h2>Sub-directories : </h2><dl> |
---|
6 | <p><br><p><dt><a href="_vis_ASCIITree_.html">/vis/ASCIITree/</a> |
---|
7 | <p><dd>Commands for ASCIITree control. |
---|
8 | <p><br><p><dt><a href="_vis_heprep_.html">/vis/heprep/</a> |
---|
9 | <p><dd>HepRep commands. |
---|
10 | <p><br><p><dt><a href="_vis_rayTracer_.html">/vis/rayTracer/</a> |
---|
11 | <p><dd>RayTracer commands. |
---|
12 | <p><br><p><dt><a href="_vis_ogl_.html">/vis/ogl/</a> |
---|
13 | <p><dd>G4OpenGLViewer commands. |
---|
14 | <p><br><p><dt><a href="_vis_oglxm_.html">/vis/oglxm/</a> |
---|
15 | <p><dd>G4OpenGLXmViewer commands. |
---|
16 | <p><br><p><dt><a href="_vis_modeling_.html">/vis/modeling/</a> |
---|
17 | <p><dd>Modeling commands. |
---|
18 | <p><br><p><dt><a href="_vis_filtering_.html">/vis/filtering/</a> |
---|
19 | <p><dd>Filtering commands. |
---|
20 | <p><br><p><dt><a href="_vis_geometry_.html">/vis/geometry/</a> |
---|
21 | <p><dd>Operations on vis attributes of Geant4 geometry. |
---|
22 | <p><br><p><dt><a href="_vis_scene_.html">/vis/scene/</a> |
---|
23 | <p><dd>Operations on Geant4 scenes. |
---|
24 | <p><br><p><dt><a href="_vis_sceneHandler_.html">/vis/sceneHandler/</a> |
---|
25 | <p><dd>Operations on Geant4 scene handlers. |
---|
26 | <p><br><p><dt><a href="_vis_viewer_.html">/vis/viewer/</a> |
---|
27 | <p><dd>Operations on Geant4 viewers. |
---|
28 | </dl><p><hr><p> |
---|
29 | <h2>Commands : </h2><dl> |
---|
30 | <p><br><p><dt><b>abortReviewKeptEvents [<i>abort</i>]</b> |
---|
31 | <p><dd> |
---|
32 | Abort review of kept events.<br> |
---|
33 | <p><dd>Available at all Geant4 states. |
---|
34 | <p><dd>Parameters<table border=1> |
---|
35 | <tr><td>abort |
---|
36 | <td>type b |
---|
37 | <td>Omittable : default value = 1 |
---|
38 | <td></table> |
---|
39 | <p><br><p><dt><b>enable [<i>enabled</i>]</b> |
---|
40 | <p><dd> |
---|
41 | Enables/disables visualization system.<br> |
---|
42 | <p><dd>Available at all Geant4 states. |
---|
43 | <p><dd>Parameters<table border=1> |
---|
44 | <tr><td>enabled |
---|
45 | <td>type b |
---|
46 | <td>Omittable : default value = 1 |
---|
47 | <td></table> |
---|
48 | <p><br><p><dt><b>disable</b> |
---|
49 | <p><dd> |
---|
50 | Disables visualization system.<br> |
---|
51 | <p><dd>Available at all Geant4 states. |
---|
52 | <p><br><p><dt><b>list [<i>verbosity</i>]</b> |
---|
53 | <p><dd> |
---|
54 | Lists visualization parameters.<br> |
---|
55 | <p><dd>Available at all Geant4 states. |
---|
56 | <p><dd>Parameters<table border=1> |
---|
57 | <tr><td>verbosity |
---|
58 | <td>type s |
---|
59 | <td>Omittable : default value = warnings |
---|
60 | <td></table> |
---|
61 | <p><br><p><dt><b>verbose [<i>verbosity</i>]</b> |
---|
62 | <p><dd> |
---|
63 | Simple graded message scheme - digit or string (1st character defines):<br> |
---|
64 | 0) quiet, // Nothing is printed.<br> |
---|
65 | 1) startup, // Startup and endup messages are printed...<br> |
---|
66 | 2) errors, // ...and errors...<br> |
---|
67 | 3) warnings, // ...and warnings...<br> |
---|
68 | 4) confirmations, // ...and confirming messages...<br> |
---|
69 | 5) parameters, // ...and parameters of scenes and views...<br> |
---|
70 | 6) all // ...and everything available.<br> |
---|
71 | <p><dd>Available at all Geant4 states. |
---|
72 | <p><dd>Parameters<table border=1> |
---|
73 | <tr><td>verbosity |
---|
74 | <td>type s |
---|
75 | <td>Omittable : default value = warnings |
---|
76 | <td></table> |
---|
77 | <p><br><p><dt><b>reviewKeptEvents [<i>macro-file-name</i>]</b> |
---|
78 | <p><dd> |
---|
79 | Review kept events.<br> |
---|
80 | If a macro file is specified, it is executed for each event.<br> |
---|
81 | If a macro file is not specified, each event is drawn to the current |
---|
82 | viewer. After each event, the session is paused. The user may issue |
---|
83 | any allowed command. Then enter "cont[inue]" to continue to the next |
---|
84 | event. |
---|
85 | Useful commands might be: |
---|
86 | "/vis/viewer/..." to change the view (zoom, set/viewpoint,...). |
---|
87 | "/vis/oglx/printEPS" to get hard copy. |
---|
88 | "/vis/open" to get alternative viewer. |
---|
89 | "/vis/abortReviewKeptEvents", then "cont[inue]", to abort.<br> |
---|
90 | <p><dd>Available at all Geant4 states. |
---|
91 | <p><dd>Parameters<table border=1> |
---|
92 | <tr><td>macro-file-name |
---|
93 | <td>type s |
---|
94 | <td>Omittable : default value = |
---|
95 | <td></table> |
---|
96 | <p><br><p><dt><b>drawTree [<i>physical-volume-name</i>] [<i>system</i>]</b> |
---|
97 | <p><dd> |
---|
98 | (DTREE) Creates a scene consisting of this physical volume and |
---|
99 | produces a representation of the geometry hieracrhy.<br> |
---|
100 | The scene becomes current.<br> |
---|
101 | <p><dd>Available at all Geant4 states. |
---|
102 | <p><dd>Parameters<table border=1> |
---|
103 | <tr><td>physical-volume-name |
---|
104 | <td>type s |
---|
105 | <td>Omittable : default value = world |
---|
106 | <td><tr><td>system |
---|
107 | <td>type s |
---|
108 | <td>Omittable : default value = ATree |
---|
109 | <td></table> |
---|
110 | <p><br><p><dt><b>drawView [<i>theta-degrees</i>] [<i>phi-degrees</i>] [<i>pan-right</i>] [<i>pan-up</i>] [<i>pan-unit</i>] [<i>zoom-factor</i>] [<i>dolly</i>] [<i>dolly-unit</i>]</b> |
---|
111 | <p><dd> |
---|
112 | Draw view from this angle, etc.<br> |
---|
113 | <p><dd>Available at all Geant4 states. |
---|
114 | <p><dd>Parameters<table border=1> |
---|
115 | <tr><td>theta-degrees |
---|
116 | <td>type d |
---|
117 | <td>Omittable : default value = 0 |
---|
118 | <td><tr><td>phi-degrees |
---|
119 | <td>type d |
---|
120 | <td>Omittable : default value = 0 |
---|
121 | <td><tr><td>pan-right |
---|
122 | <td>type d |
---|
123 | <td>Omittable : default value = 0 |
---|
124 | <td><tr><td>pan-up |
---|
125 | <td>type d |
---|
126 | <td>Omittable : default value = 0 |
---|
127 | <td><tr><td>pan-unit |
---|
128 | <td>type s |
---|
129 | <td>Omittable : default value = cm |
---|
130 | <td><tr><td>zoom-factor |
---|
131 | <td>type d |
---|
132 | <td>Omittable : default value = 1 |
---|
133 | <td><tr><td>dolly |
---|
134 | <td>type d |
---|
135 | <td>Omittable : default value = 0 |
---|
136 | <td><tr><td>dolly-unit |
---|
137 | <td>type s |
---|
138 | <td>Omittable : default value = cm |
---|
139 | <td></table> |
---|
140 | <p><br><p><dt><b>drawVolume [<i>physical-volume-name</i>]</b> |
---|
141 | <p><dd> |
---|
142 | Creates a scene containing this physical volume and asks the |
---|
143 | current viewer to draw it. The scene becomes current.<br> |
---|
144 | If physical-volume-name is "world" (the default), the main geometry |
---|
145 | tree (material world) is drawn. If "worlds", all worlds - material |
---|
146 | world and parallel worlds, if any - are drawn. Otherwise a search of |
---|
147 | all worlds is made, taking the first matching occurence only. To see |
---|
148 | a representation of the geometry hierarchy of the worlds, try |
---|
149 | "/vis/drawTree [worlds]" or one of the driver/browser combinations |
---|
150 | that have the required functionality, e.g., HepRepFile/XML with the |
---|
151 | WIRED3/4 browser.<br> |
---|
152 | <p><dd>Available at all Geant4 states. |
---|
153 | <p><dd>Parameters<table border=1> |
---|
154 | <tr><td>physical-volume-name |
---|
155 | <td>type s |
---|
156 | <td>Omittable : default value = world |
---|
157 | <td></table> |
---|
158 | <p><br><p><dt><b>open [<i>graphics-system-name</i>] [<i>window-size-hint</i>]</b> |
---|
159 | <p><dd> |
---|
160 | Creates a scene handler ready for drawing.<br> |
---|
161 | The scene handler becomes current (the name is auto-generated).<br> |
---|
162 | <p><dd>Available at all Geant4 states. |
---|
163 | <p><dd>Parameters<table border=1> |
---|
164 | <tr><td>graphics-system-name |
---|
165 | <td>type s |
---|
166 | <td><td>Parameter candidates : ATree DAWNFILE HepRepXML HepRepFile RayTracer VRML1FILE VRML2FILE DAWN OGLIX OGLSX OGLIXm OGLSXm RayTracerX VRML1 VRML2 |
---|
167 | <tr><td>window-size-hint |
---|
168 | <td>type s |
---|
169 | <td>Omittable : default value = 600 |
---|
170 | <td></table> |
---|
171 | <p><br><p><dt><b>specify [<i>logical-volume-name</i>] [<i>depth-of-descent</i>] [<i>booleans-flag</i>] [<i>voxels-flag</i>] [<i>readout-flag</i>]</b> |
---|
172 | <p><dd> |
---|
173 | Draws logical volume with Boolean components, voxels and readout geometry.<br> |
---|
174 | Creates a scene consisting of this logical volume and asks the |
---|
175 | current viewer to draw it to the specified depth of descent |
---|
176 | showing boolean components (if any), voxels (if any) |
---|
177 | and readout geometry (if any), under control of the appropriate flag.<br> |
---|
178 | Note: voxels are not constructed until start of run - /run/beamOn.<br> |
---|
179 | The scene becomes current.<br> |
---|
180 | <p><dd>Available at all Geant4 states. |
---|
181 | <p><dd>Parameters<table border=1> |
---|
182 | <tr><td>logical-volume-name |
---|
183 | <td>type s |
---|
184 | <td><td><tr><td>depth-of-descent |
---|
185 | <td>type i |
---|
186 | <td>Omittable : default value = 1 |
---|
187 | <td><tr><td>booleans-flag |
---|
188 | <td>type b |
---|
189 | <td>Omittable : default value = 1 |
---|
190 | <td><tr><td>voxels-flag |
---|
191 | <td>type b |
---|
192 | <td>Omittable : default value = 1 |
---|
193 | <td><tr><td>readout-flag |
---|
194 | <td>type b |
---|
195 | <td>Omittable : default value = 1 |
---|
196 | <td></table> |
---|
197 | </dl></body></html> |
---|