source: trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/AllResources/Control/UIcommands/_vis_scene_.html @ 904

Last change on this file since 904 was 904, checked in by garnier, 16 years ago

ajout de la doc

File size: 3.3 KB
Line 
1<html><head><title>Commands in /vis/scene/</title></head>
2<body bgcolor="#ffffff"><h2>/vis/scene/</h2><p>
3Operations 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>
12Creates an empty scene.<br>
13Invents 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>] [<i>maxNumber</i>]</b>
21<p><dd>
22Accumulate 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<p><dd>Available at all Geant4 states.
27<p><dd>Parameters<table border=1>
28<tr><td>action
29<td>type s
30<td>Omittable : default value = refresh
31<td>Parameter candidates : accumulate refresh
32<tr><td>maxNumber
33<td>type i
34<td>Omittable : default value = 100
35<td></table>
36<p><br><p><dt><b>endOfRunAction [<i>action</i>]</b>
37<p><dd>
38Accumulate or refresh the viewer for each new run.<br>
39"accumulate": viewer accumulates hits, etc., run by run, or<br>
40"refresh": viewer shows them at end of run or, for direct-screen
41  viewers, refreshes the screen just before drawing the first
42  event of the next run.<br>
43The detector remains or is redrawn.<br>
44<p><dd>Available at all Geant4 states.
45<p><dd>Parameters<table border=1>
46<tr><td>action
47<td>type s
48<td>Omittable : default value = refresh
49<td>Parameter candidates : accumulate refresh
50</table>
51<p><br><p><dt><b>list [<i>scene-name</i>] [<i>verbosity</i>]</b>
52<p><dd>
53Lists scene(s).<br>
54"help /vis/verbose" for definition of verbosity.<br>
55<p><dd>Available at all Geant4 states.
56<p><dd>Parameters<table border=1>
57<tr><td>scene-name
58<td>type s
59<td>Omittable : default value = all
60<td><tr><td>verbosity
61<td>type s
62<td>Omittable : default value = warnings
63<td></table>
64<p><br><p><dt><b>notifyHandlers [<i>scene-name</i>] [<i>refresh-flush</i>]</b>
65<p><dd>
66Notifies scene handlers and forces re-rendering.<br>
67Notifies the handler(s) of the specified scene and forces a
68reconstruction of any graphical databases.
69Clears and refreshes all viewers of current scene.
70  The default action "refresh" does not issue "update" (see
71    /vis/viewer/update).
72If "flush" is specified, it issues an "update" as well as
73  "refresh" - "update" and initiates post-processing
74  for graphics systems which need it.<br>
75The default for &lt;scene-name&gt; is the current scene name.<br>
76This command does not change current scene, scene handler or viewer.<br>
77<p><dd>Available at all Geant4 states.
78<p><dd>Parameters<table border=1>
79<tr><td>scene-name
80<td>type s
81<td>Omittable : current value is used as the default value.
82<td><tr><td>refresh-flush
83<td>type s
84<td>Omittable : default value = refresh
85<td>Parameter candidates : r refresh f flush
86</table>
87<p><br><p><dt><b>select [<i>scene-name</i>]</b>
88<p><dd>
89Selects a scene<br>
90Makes the scene current.  "/vis/scene/list" to see
91 possible scene names.<br>
92<p><dd>Available at all Geant4 states.
93<p><dd>Parameters<table border=1>
94<tr><td>scene-name
95<td>type s
96<td><td></table>
97</dl></body></html>
Note: See TracBrowser for help on using the repository browser.