/vis/

Visualization commands.


Sub-directories :


/vis/ASCIITree/

Commands for ASCIITree control.


/vis/ogl/

G4OpenGLViewer commands.


/vis/oglxm/

G4OpenGLXmViewer commands.


/vis/rayTracer/

RayTracer commands.


/vis/modeling/

Modeling commands.


/vis/filtering/

Filtering commands.


/vis/geometry/

Operations on vis attributes of Geant4 geometry.


/vis/scene/

Operations on Geant4 scenes.


/vis/sceneHandler/

Operations on Geant4 scene handlers.


/vis/viewer/

Operations on Geant4 viewers.


Commands :


abortReviewKeptEvents [abort]

Abort review of kept events.

Available at all Geant4 states.

Parameters
abort type b Omittable : default value = 1


enable [enabled]

Enables/disables visualization system.

Available at all Geant4 states.

Parameters
enabled type b Omittable : default value = 1


disable

Disables visualization system.

Available at all Geant4 states.


list [verbosity]

Lists visualization parameters.

Available at all Geant4 states.

Parameters
verbosity type s Omittable : default value = warnings


verbose [verbosity]

Simple graded message scheme - digit or string (1st character defines):
0) quiet, // Nothing is printed.
1) startup, // Startup and endup messages are printed...
2) errors, // ...and errors...
3) warnings, // ...and warnings...
4) confirmations, // ...and confirming messages...
5) parameters, // ...and parameters of scenes and views...
6) all // ...and everything available.

Available at all Geant4 states.

Parameters
verbosity type s Omittable : default value = warnings


reviewKeptEvents [macro-file-name]

Review kept events.
If a macro file is specified, it is executed for each event.
If a macro file is not specified, each event is drawn to the current viewer. After each event, the session is paused. The user may issue any allowed command. Then enter "cont[inue]" to continue to the next event. Useful commands might be: "/vis/viewer/..." to change the view (zoom, set/viewpoint,...). "/vis/oglx/printEPS" to get hard copy. "/vis/open" to get alternative viewer. "/vis/abortReviewKeptEvents", then "cont[inue]", to abort.

Available at all Geant4 states.

Parameters
macro-file-name type s Omittable : default value =


drawTree [physical-volume-name] [system]

(DTREE) Creates a scene consisting of this physical volume and produces a representation of the geometry hieracrhy.
The scene becomes current.

Available at all Geant4 states.

Parameters
physical-volume-name type s Omittable : default value = world
system type s Omittable : default value = ATree


drawView [theta-degrees] [phi-degrees] [pan-right] [pan-up] [pan-unit] [zoom-factor] [dolly] [dolly-unit]

Draw view from this angle, etc.

Available at all Geant4 states.

Parameters
theta-degrees type d Omittable : default value = 0
phi-degrees type d Omittable : default value = 0
pan-right type d Omittable : default value = 0
pan-up type d Omittable : default value = 0
pan-unit type s Omittable : default value = cm
zoom-factor type d Omittable : default value = 1
dolly type d Omittable : default value = 0
dolly-unit type s Omittable : default value = cm


drawVolume [physical-volume-name]

Creates a scene containing this physical volume and asks the current viewer to draw it. The scene becomes current.
If physical-volume-name is "world" (the default), the main geometry tree (material world) is drawn. If "worlds", all worlds - material world and parallel worlds, if any - are drawn. Otherwise a search of all worlds is made, taking the first matching occurence only. To see a representation of the geometry hierarchy of the worlds, try "/vis/drawTree [worlds]" or one of the driver/browser combinations that have the required functionality, e.g., HepRep

Available at all Geant4 states.

Parameters
physical-volume-name type s Omittable : default value = world


open [graphics-system-name] [window-size-hint]

Creates a scene handler ready for drawing.
The scene handler becomes current (the name is auto-generated).

Available at all Geant4 states.

Parameters
graphics-system-name type s Parameter candidates : ATree DAWN DAWNFILE OGLIX OGLSX OGLIXm OGLSXm VRML1FILE VRML2FILE RayTracer
window-size-hint type s Omittable : default value = 600


specify [logical-volume-name] [depth-of-descent] [booleans-flag] [voxels-flag] [readout-flag]

Draws logical volume with Boolean components, voxels and readout geometry.
Creates a scene consisting of this logical volume and asks the current viewer to draw it to the specified depth of descent showing boolean components (if any), voxels (if any) and readout geometry (if any), under control of the appropriate flag.
Note: voxels are not constructed until start of run - /run/beamOn.
The scene becomes current.

Available at all Geant4 states.

Parameters
logical-volume-name type s
depth-of-descent type i Omittable : default value = 1
booleans-flag type b Omittable : default value = 1
voxels-flag type b Omittable : default value = 1
readout-flag type b Omittable : default value = 1