/vis/scene/

Operations on Geant4 scenes.


Sub-directories :


/vis/scene/add/

Add model to current scene.


Commands :


create [scene-name]

/vis/scene/create [<scene-name>]
Creates an empty scene.
Invents a name if not supplied.
This scene becomes current.

Available at all Geant4 states.

Parameters
scene-name type s Omittable : current value is used as the default value.


endOfEventAction [action]

/vis/scene/endOfEventAction [accumulate|refresh]
Requests viewer a) to accumulate hits, etc., event by event, or b) to show them at end of event or, for direct-screen viewers, to refresh the screen just before drawing the next event. Detector remains or is redrawn.

Available at all Geant4 states.

Parameters
action type s Omittable : default value = refresh Parameter candidates : accumulate refresh


endOfRunAction [action]

/vis/scene/endOfRunAction [accumulate|refresh]
Requests viewer a) to accumulate hits, etc., run by run, or b) to show them at end of run or, for direct-screen viewers, to refresh the screen just before drawing the next event. Detector remains or is redrawn.

Available at all Geant4 states.

Parameters
action type s Omittable : default value = refresh Parameter candidates : accumulate refresh


list [scene-name] [verbosity]

/vis/scene/list [<scene-name>] [<verbosity>]
Lists scene(s).
<scene-name> default is "all"
See /vis/verbose for definition of verbosity.

Available at all Geant4 states.

Parameters
scene-name type s Omittable : default value = all
verbosity type s Omittable : default value = 0


notifyHandlers [scene-name] [refresh-flush]

/vis/scene/notifyHandlers [<scene-name>] [r[efresh]|f[lush]]
Notifies scene handlers of possible changes of scene and forces areconstruction of any graphical databases.
<scene-name> default is current scene name.
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.
This command does not change current scene, scene handler or viewer.

Available at all Geant4 states.

Parameters
scene-name type s Omittable : current value is used as the default value.
refresh-flush type s Omittable : default value = refresh


remove [scene-name]

/vis/scene/remove <scene-name>
Removes scenes.
/vis/scene/list to see possibilities.

Available at all Geant4 states.

Parameters
scene-name type s


select [scene-name]

/vis/scene/select [<scene-name>]
Selects current scene.
Specify scene by name ("/vis/scene/list" to see possibilities).

Available at all Geant4 states.

Parameters
scene-name type s Omittable : current value is used as the default value.