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