/vis/

Visualization commands.


Sub-directories :


/vis/ASCIITree/

Commands for ASCIITree control.


/vis/GAGTree/

Commands for GAGTree control.


/vis/heprep/

HepRep commands.


/vis/rayTracer/

RayTracer commands.


/vis/ogl/

G4OpenGLViewer commands.


/vis/oglx/

G4OpenGLXViewer commands.


/vis/oglxm/

G4OpenGLXmViewer 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 :


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 "continue" to continue to the next event.
However, if the current scene requests event accumulation, this command simply notifies handlers.

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., HepRepFile/XML with the WIRED3/4 browser.

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 : XXX XXXFile XXXStored XXXSG ATree DAWNFILE GAGTree HepRepXML HepRepFile RayTracer VRML1FILE VRML2FILE DAWN OGLIX OGLSX OGLIXm OGLSXm OIX RayTracerX VRML1 VRML2
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