/vis/ogl/set/

G4OpenGLViewer set commands.

Commands

displayListLimit
exportFormat
printFilename
printMode
printSize
transparency

displayListLimit

This command is no longer relevant. There is no longer any limit on the number of display lists - except, of course, the available memory in your computer. Keep an eye on that. Good luck!

Available at all Geant4 states.

exportFormat [format]

Set export format
By default, pdf/eps/svg/ps are available. Depending of viewers several other format are available.
Try /vis/ogl/set/exportFormat without parameters to see them.
Changing format will reset the incremental suffix to 0.

Available at all Geant4 states.

Parameters
format type s Omittable : default value =

printFilename [name] [incremental]

Set print filename
Setting 'incremental' will increment filename by one at each new print, starting at 0

Available at all Geant4 states.

Parameters
name type s Omittable : default value = G4OpenGL
incremental type b Omittable : default value = 1

printMode [print_mode]

Set print mode, only available for "ps" format

Available at all Geant4 states.

Parameters
print_mode type s Omittable : default value = vectored Parameter candidates : vectored pixmap

printSize [width] [height]

Set print size
Tip : -1 will mean 'print size' = 'window size'
Setting size greater than your maximum graphic card capacity , will set the size to maximum size.

Available at all Geant4 states.

Parameters
width type d
height type d

transparency [transparency-enabled]

True/false to enable/disable rendering of transparent objects.

Available at all Geant4 states.

Parameters
transparency-enabled type b Omittable : default value = 1