/vis/

Visualization commands.


Sub-directories :


/vis/scene/

Operations on Geant4 scenes.


/vis/sceneHandler/

Operations on Geant4 scene handlers.


/vis/viewer/

Operations on Geant4 viewers.


Commands :


enable [enabled]

/vis/enable [true|false]
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.


verbose [verbosity]

/vis/verbose [<verbosity>]
default: warnings 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


drawTree [PVname] [system]

/vis/drawTree [<physical-volume-name>] [<system>]
Default: world ATree
(DTREE) Creates a scene consisting of this physical volume and produces a represntation of the geometry hieracrhy.
The scene becomes current.

Available at all Geant4 states.

Parameters
PVname type s Omittable : default value = world
system type s Omittable : default value = ATree


drawVolume [physical-volume-name]

/vis/drawVolume [<physical-volume-name>]
Default: world volume
Creates a scene consisting of this physical volume and asks the current viewer to draw it.
The scene becomes current.

Available at all Geant4 states.

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


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

/vis/drawView [<theta-deg>] [<phi-deg>] [<pan-right>] [<pan-up>] [<pan-unit>] [<zoom-factor>] [<dolly>] [<dolly-unit>]
Default: 0 0 0 0 cm 1 0 cm

Available at all Geant4 states.

Parameters
theta-deg type d Omittable : default value = 0
phi-deg 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


open [graphics-system-name] [pixels]

/vis/open [<graphics-system-name>] [<pixels>]
For this graphics system, creates a scene handler ready for drawing.
The scene handler becomes current.
The scene handler name is auto-generated.
The 2nd parameter is the window size hint.

Available at all Geant4 states.

Parameters
graphics-system-name type s Parameter candidates : DAWNFILE OGLIX OGLSX VRML1FILE VRML2FILE
pixels type i Omittable : default value = 600


specify [logical-volume-name]

/vis/specify <logical-volume-name>
Creates a scene consisting of this logical volume and asks the current viewer to draw it and the geometry to print the specification.
The scene becomes current.

Available at all Geant4 states.

Parameters
logical-volume-name type s