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_GAGTree_.html">/vis/GAGTree/</a> |
---|
9 | <p><dd>Commands for GAGTree control. |
---|
10 | <p><br><p><dt><a href="_vis_heprep_.html">/vis/heprep/</a> |
---|
11 | <p><dd>HepRep commands. |
---|
12 | <p><br><p><dt><a href="_vis_rayTracer_.html">/vis/rayTracer/</a> |
---|
13 | <p><dd>RayTracer commands. |
---|
14 | <p><br><p><dt><a href="_vis_modeling_.html">/vis/modeling/</a> |
---|
15 | <p><dd>Modeling commands. |
---|
16 | <p><br><p><dt><a href="_vis_scene_.html">/vis/scene/</a> |
---|
17 | <p><dd>Operations on Geant4 scenes. |
---|
18 | <p><br><p><dt><a href="_vis_sceneHandler_.html">/vis/sceneHandler/</a> |
---|
19 | <p><dd>Operations on Geant4 scene handlers. |
---|
20 | <p><br><p><dt><a href="_vis_viewer_.html">/vis/viewer/</a> |
---|
21 | <p><dd>Operations on Geant4 viewers. |
---|
22 | <p><br><p><dt><a href="_vis_oglxm-viewer-0_.html">/vis/oglxm-viewer-0/</a> |
---|
23 | <p><dd>G4OpenGLXmViewer "viewer-0" commands. |
---|
24 | </dl><p><hr><p> |
---|
25 | <h2>Commands : </h2><dl> |
---|
26 | <p><br><p><dt><b>enable [<i>enabled</i>]</b> |
---|
27 | <p><dd> |
---|
28 | Enables/disables visualization system.<br> |
---|
29 | <p><dd>Available at all Geant4 states. |
---|
30 | <p><dd>Parameters<table border=1> |
---|
31 | <tr><td>enabled |
---|
32 | <td>type b |
---|
33 | <td>Omittable : default value = 1 |
---|
34 | <td></table> |
---|
35 | <p><br><p><dt><b>disable</b> |
---|
36 | <p><dd> |
---|
37 | Disables visualization system.<br> |
---|
38 | <p><dd>Available at all Geant4 states. |
---|
39 | <p><br><p><dt><b>verbose [<i>verbosity</i>]</b> |
---|
40 | <p><dd> |
---|
41 | Simple graded message scheme - digit or string (1st character defines):<br> |
---|
42 | 0) quiet, // Nothing is printed.<br> |
---|
43 | 1) startup, // Startup and endup messages are printed...<br> |
---|
44 | 2) errors, // ...and errors...<br> |
---|
45 | 3) warnings, // ...and warnings...<br> |
---|
46 | 4) confirmations, // ...and confirming messages...<br> |
---|
47 | 5) parameters, // ...and parameters of scenes and views...<br> |
---|
48 | 6) all // ...and everything available.<br> |
---|
49 | <p><dd>Available at all Geant4 states. |
---|
50 | <p><dd>Parameters<table border=1> |
---|
51 | <tr><td>verbosity |
---|
52 | <td>type s |
---|
53 | <td>Omittable : default value = warnings |
---|
54 | <td></table> |
---|
55 | <p><br><p><dt><b>drawTree [<i>physical-volume-name</i>] [<i>system</i>]</b> |
---|
56 | <p><dd> |
---|
57 | (DTREE) Creates a scene consisting of this physical volume and |
---|
58 | produces a representation of the geometry hieracrhy.<br> |
---|
59 | The scene becomes current.<br> |
---|
60 | <p><dd>Available at all Geant4 states. |
---|
61 | <p><dd>Parameters<table border=1> |
---|
62 | <tr><td>physical-volume-name |
---|
63 | <td>type s |
---|
64 | <td>Omittable : default value = world |
---|
65 | <td><tr><td>system |
---|
66 | <td>type s |
---|
67 | <td>Omittable : default value = ATree |
---|
68 | <td></table> |
---|
69 | <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> |
---|
70 | <p><dd> |
---|
71 | Draw view from this angle, etc.<br> |
---|
72 | <p><dd>Available at all Geant4 states. |
---|
73 | <p><dd>Parameters<table border=1> |
---|
74 | <tr><td>theta-degrees |
---|
75 | <td>type d |
---|
76 | <td>Omittable : default value = 0 |
---|
77 | <td><tr><td>phi-degrees |
---|
78 | <td>type d |
---|
79 | <td>Omittable : default value = 0 |
---|
80 | <td><tr><td>pan-right |
---|
81 | <td>type d |
---|
82 | <td>Omittable : default value = 0 |
---|
83 | <td><tr><td>pan-up |
---|
84 | <td>type d |
---|
85 | <td>Omittable : default value = 0 |
---|
86 | <td><tr><td>pan-unit |
---|
87 | <td>type s |
---|
88 | <td>Omittable : default value = cm |
---|
89 | <td><tr><td>zoom-factor |
---|
90 | <td>type d |
---|
91 | <td>Omittable : default value = 1 |
---|
92 | <td><tr><td>dolly |
---|
93 | <td>type d |
---|
94 | <td>Omittable : default value = 0 |
---|
95 | <td><tr><td>dolly-unit |
---|
96 | <td>type s |
---|
97 | <td>Omittable : default value = cm |
---|
98 | <td></table> |
---|
99 | <p><br><p><dt><b>drawVolume [<i>physical-volume-name</i>]</b> |
---|
100 | <p><dd> |
---|
101 | Creates a scene consisting of this physical volume and asks the |
---|
102 | current viewer to draw it.<br> |
---|
103 | The scene becomes current.<br> |
---|
104 | <p><dd>Available at all Geant4 states. |
---|
105 | <p><dd>Parameters<table border=1> |
---|
106 | <tr><td>physical-volume-name |
---|
107 | <td>type s |
---|
108 | <td>Omittable : default value = world |
---|
109 | <td></table> |
---|
110 | <p><br><p><dt><b>open [<i>graphics-system-name</i>] [<i>window-size-hint</i>]</b> |
---|
111 | <p><dd> |
---|
112 | Creates a scene handler ready for drawing.<br> |
---|
113 | The scene handler becomes current (the name is auto-generated).<br> |
---|
114 | <p><dd>Available at all Geant4 states. |
---|
115 | <p><dd>Parameters<table border=1> |
---|
116 | <tr><td>graphics-system-name |
---|
117 | <td>type s |
---|
118 | <td><td>Parameter candidates : XXX ATree DAWNFILE GAGTree HepRepXML HepRepFile VRML1FILE VRML2FILE DAWN OGLIX OGLSX OGLIXm OGLSXm OIX RayTracerX VRML1 VRML2 |
---|
119 | <tr><td>window-size-hint |
---|
120 | <td>type s |
---|
121 | <td>Omittable : default value = 600 |
---|
122 | <td></table> |
---|
123 | <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> |
---|
124 | <p><dd> |
---|
125 | Draws logical volume with Boolean components, voxels and readout geometry.<br> |
---|
126 | Creates a scene consisting of this logical volume and asks the |
---|
127 | current viewer to draw it to the specified depth of descent |
---|
128 | showing boolean components (if any), voxels (if any) |
---|
129 | and readout geometry (if any), under control of the appropriate flag.<br> |
---|
130 | Note: voxels are not constructed until start of run - /run/beamOn.<br> |
---|
131 | The scene becomes current.<br> |
---|
132 | <p><dd>Available at all Geant4 states. |
---|
133 | <p><dd>Parameters<table border=1> |
---|
134 | <tr><td>logical-volume-name |
---|
135 | <td>type s |
---|
136 | <td><td><tr><td>depth-of-descent |
---|
137 | <td>type i |
---|
138 | <td>Omittable : default value = 1 |
---|
139 | <td><tr><td>booleans-flag |
---|
140 | <td>type b |
---|
141 | <td>Omittable : default value = 1 |
---|
142 | <td><tr><td>voxels-flag |
---|
143 | <td>type b |
---|
144 | <td>Omittable : default value = 1 |
---|
145 | <td><tr><td>readout-flag |
---|
146 | <td>type b |
---|
147 | <td>Omittable : default value = 1 |
---|
148 | <td></table> |
---|
149 | </dl></body></html> |
---|