96 lines
3.3 KiB
HTML
96 lines
3.3 KiB
HTML
<html><head><title>Commands in /vis/scene/</title></head>
|
|
<body bgcolor="#ffffff"><h2>/vis/scene/</h2><p>
|
|
Operations on Geant4 scenes.<br>
|
|
<p><hr><p>
|
|
<h2>Sub-directories : </h2><dl>
|
|
<p><br><p><dt><a href="_vis_scene_add_.html">/vis/scene/add/</a>
|
|
<p><dd>Add model to current scene.
|
|
</dl><p><hr><p>
|
|
<h2>Commands : </h2><dl>
|
|
<p><br><p><dt><b>create [<i>scene-name</i>]</b>
|
|
<p><dd>
|
|
Creates an empty scene.<br>
|
|
Invents a name if not supplied. This scene becomes current.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>scene-name
|
|
<td>type s
|
|
<td>Omittable : default value =
|
|
<td></table>
|
|
<p><br><p><dt><b>endOfEventAction [<i>action</i>]</b>
|
|
<p><dd>
|
|
Accumulate or refresh the viewer for each new event.<br>
|
|
"accumulate": viewer accumulates hits, etc., event by event, or<br>
|
|
"refresh": viewer shows them at end of event or, for direct-screen
|
|
viewers, refreshes the screen just before drawing the next event.<br>
|
|
The detector remains or is redrawn.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>action
|
|
<td>type s
|
|
<td>Omittable : default value = refresh
|
|
<td>Parameter candidates : accumulate refresh
|
|
</table>
|
|
<p><br><p><dt><b>endOfRunAction [<i>action</i>]</b>
|
|
<p><dd>
|
|
Accumulate or refresh the viewer for each new run.<br>
|
|
"accumulate": viewer accumulates hits, etc., run by run, or<br>
|
|
"refresh": viewer shows them at end of run or, for direct-screen
|
|
viewers, refreshes the screen just before drawing the first
|
|
event of the next run.<br>
|
|
The detector remains or is redrawn.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>action
|
|
<td>type s
|
|
<td>Omittable : default value = refresh
|
|
<td>Parameter candidates : accumulate refresh
|
|
</table>
|
|
<p><br><p><dt><b>list [<i>scene-name</i>] [<i>verbosity</i>]</b>
|
|
<p><dd>
|
|
Lists scene(s).<br>
|
|
"help /vis/verbose" for definition of verbosity.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>scene-name
|
|
<td>type s
|
|
<td>Omittable : default value = all
|
|
<td><tr><td>verbosity
|
|
<td>type s
|
|
<td>Omittable : default value = 0
|
|
<td></table>
|
|
<p><br><p><dt><b>notifyHandlers [<i>scene-name</i>] [<i>refresh-flush</i>]</b>
|
|
<p><dd>
|
|
Notifies scene handlers and forces re-rendering.<br>
|
|
Notifies the handler(s) of the specified scene and forces a
|
|
reconstruction of any graphical databases.
|
|
Clears and refreshes all viewers of current scene.
|
|
The default action "refresh" does not issue "update" (see
|
|
/vis/viewer/update).
|
|
If "flush" is specified, it issues an "update" as well as
|
|
"refresh" - useful for refreshing and initiating post-processing
|
|
for graphics systems which need post-processing.<br>
|
|
The default for <scene-name> is the current scene name.<br>
|
|
This command does not change current scene, scene handler or viewer.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>scene-name
|
|
<td>type s
|
|
<td>Omittable : current value is used as the default value.
|
|
<td><tr><td>refresh-flush
|
|
<td>type s
|
|
<td>Omittable : default value = refresh
|
|
<td>Parameter candidates : refresh flush
|
|
</table>
|
|
<p><br><p><dt><b>select [<i>scene-name</i>]</b>
|
|
<p><dd>
|
|
Selects a scene<br>
|
|
Makes the scene current. "/vis/scene/list" to see
|
|
possible scene names.<br>
|
|
<p><dd>Available at all Geant4 states.
|
|
<p><dd>Parameters<table border=1>
|
|
<tr><td>scene-name
|
|
<td>type s
|
|
<td><td></table>
|
|
</dl></body></html>
|