12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Visualization# Camera setting/vis/viewer/set/viewpointThetaPhi 20 20# Camera setting/vis/drawVolume/vis/viewer/flush# set print mode to vectored/vis/ogl/set/printMode vectored# set print size larger than screen/vis/ogl/set/printSize 2000 2000# print/vis/ogl/printEPS• HepRepThe HepRApp HepRep Browser and WIRED4 JAS Plug-In can generate a wide variety of bitmap and vectoroutput <strong>for</strong>mats including PostScript and PDF.8.4.14. Culling"Culling" means to skip visualizing parts of a 3D scene. Culling is useful <strong>for</strong> avoiding complexity of visualizedviews, keeping transparent features of the 3D scene, and <strong>for</strong> quick visualization.<strong>Geant4</strong> Visualization supports the following 3 kinds of culling:• Culling of invisible physical volumes• Culling of low density physical volumes.• Culling of covered physical volumes by othersIn order that one or all types of the above culling are on, i.e., activated, the global culling flag should also be on.Table 8.2 summarizes the default culling policies.Culling Typeglobalinvisiblelow densitycovered daughterTable 8.2. The default culling policies.Default ValueONONOFFOFFThe default threshold density of the low-density culling is 0.01 g/cm 3 .The default culling policies can be modified with the following visualization commands. (Below the argumentflag takes a value of true or false.)# global/vis/viewer/set/culling global flag# invisible/vis/viewer/set/culling invisible flag# low density# "value" is a proper value of a treshold density# "unit" is either g/cm3, mg/cm3 or kg/m3/vis/viewer/set/culling density flag value unit# covered daughter/vis/viewer/set/culling coveredDaughters flagdensityThe HepRepFile graphic system will, by default, include culled objects in the file so that they can still be madevisible later from controls in the HepRep browser. If this behavior would cause files to be too large, you can instead242

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!