[904] | 1 | <html><head><title>Commands in /vis/scene/</title></head> |
---|
| 2 | <body bgcolor="#ffffff"><h2>/vis/scene/</h2><p> |
---|
| 3 | Operations on Geant4 scenes.<br> |
---|
| 4 | <p><hr><p> |
---|
| 5 | <h2>Sub-directories : </h2><dl> |
---|
| 6 | <p><br><p><dt><a href="_vis_scene_add_.html">/vis/scene/add/</a> |
---|
| 7 | <p><dd>Add model to current scene. |
---|
| 8 | </dl><p><hr><p> |
---|
| 9 | <h2>Commands : </h2><dl> |
---|
| 10 | <p><br><p><dt><b>create [<i>scene-name</i>]</b> |
---|
| 11 | <p><dd> |
---|
| 12 | Creates an empty scene.<br> |
---|
| 13 | Invents a name if not supplied. This scene becomes current.<br> |
---|
| 14 | <p><dd>Available at all Geant4 states. |
---|
| 15 | <p><dd>Parameters<table border=1> |
---|
| 16 | <tr><td>scene-name |
---|
| 17 | <td>type s |
---|
| 18 | <td>Omittable : default value = |
---|
| 19 | <td></table> |
---|
| 20 | <p><br><p><dt><b>endOfEventAction [<i>action</i>]</b> |
---|
| 21 | <p><dd> |
---|
| 22 | Accumulate or refresh the viewer for each new event.<br> |
---|
| 23 | "accumulate": viewer accumulates hits, etc., event by event, or<br> |
---|
| 24 | "refresh": viewer shows them at end of event or, for direct-screen |
---|
| 25 | viewers, refreshes the screen just before drawing the next event.<br> |
---|
| 26 | The detector remains or is redrawn.<br> |
---|
| 27 | <p><dd>Available at all Geant4 states. |
---|
| 28 | <p><dd>Parameters<table border=1> |
---|
| 29 | <tr><td>action |
---|
| 30 | <td>type s |
---|
| 31 | <td>Omittable : default value = refresh |
---|
| 32 | <td>Parameter candidates : accumulate refresh |
---|
| 33 | </table> |
---|
| 34 | <p><br><p><dt><b>endOfRunAction [<i>action</i>]</b> |
---|
| 35 | <p><dd> |
---|
| 36 | Accumulate or refresh the viewer for each new run.<br> |
---|
| 37 | "accumulate": viewer accumulates hits, etc., run by run, or<br> |
---|
| 38 | "refresh": viewer shows them at end of run or, for direct-screen |
---|
| 39 | viewers, refreshes the screen just before drawing the first |
---|
| 40 | event of the next run.<br> |
---|
| 41 | The detector remains or is redrawn.<br> |
---|
| 42 | <p><dd>Available at all Geant4 states. |
---|
| 43 | <p><dd>Parameters<table border=1> |
---|
| 44 | <tr><td>action |
---|
| 45 | <td>type s |
---|
| 46 | <td>Omittable : default value = refresh |
---|
| 47 | <td>Parameter candidates : accumulate refresh |
---|
| 48 | </table> |
---|
| 49 | <p><br><p><dt><b>list [<i>scene-name</i>] [<i>verbosity</i>]</b> |
---|
| 50 | <p><dd> |
---|
| 51 | Lists scene(s).<br> |
---|
| 52 | "help /vis/verbose" for definition of verbosity.<br> |
---|
| 53 | <p><dd>Available at all Geant4 states. |
---|
| 54 | <p><dd>Parameters<table border=1> |
---|
| 55 | <tr><td>scene-name |
---|
| 56 | <td>type s |
---|
| 57 | <td>Omittable : default value = all |
---|
| 58 | <td><tr><td>verbosity |
---|
| 59 | <td>type s |
---|
| 60 | <td>Omittable : default value = 0 |
---|
| 61 | <td></table> |
---|
| 62 | <p><br><p><dt><b>notifyHandlers [<i>scene-name</i>] [<i>refresh-flush</i>]</b> |
---|
| 63 | <p><dd> |
---|
| 64 | Notifies scene handlers and forces re-rendering.<br> |
---|
| 65 | Notifies the handler(s) of the specified scene and forces a |
---|
| 66 | reconstruction of any graphical databases. |
---|
| 67 | Clears and refreshes all viewers of current scene. |
---|
| 68 | The default action "refresh" does not issue "update" (see |
---|
| 69 | /vis/viewer/update). |
---|
| 70 | If "flush" is specified, it issues an "update" as well as |
---|
| 71 | "refresh" - "update" and initiates post-processing |
---|
| 72 | for graphics systems which need it.<br> |
---|
| 73 | The default for <scene-name> is the current scene name.<br> |
---|
| 74 | This command does not change current scene, scene handler or viewer.<br> |
---|
| 75 | <p><dd>Available at all Geant4 states. |
---|
| 76 | <p><dd>Parameters<table border=1> |
---|
| 77 | <tr><td>scene-name |
---|
| 78 | <td>type s |
---|
| 79 | <td>Omittable : current value is used as the default value. |
---|
| 80 | <td><tr><td>refresh-flush |
---|
| 81 | <td>type s |
---|
| 82 | <td>Omittable : default value = refresh |
---|
| 83 | <td>Parameter candidates : refresh flush |
---|
| 84 | </table> |
---|
| 85 | <p><br><p><dt><b>select [<i>scene-name</i>]</b> |
---|
| 86 | <p><dd> |
---|
| 87 | Selects a scene<br> |
---|
| 88 | Makes the scene current. "/vis/scene/list" to see |
---|
| 89 | possible scene names.<br> |
---|
| 90 | <p><dd>Available at all Geant4 states. |
---|
| 91 | <p><dd>Parameters<table border=1> |
---|
| 92 | <tr><td>scene-name |
---|
| 93 | <td>type s |
---|
| 94 | <td><td></table> |
---|
| 95 | </dl></body></html> |
---|