Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
+22 -1
View File
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4VVisManager.hh 78306 2013-12-11 10:53:30Z gcosmo $
// John Allison 19/Oct/1996.
//
// Class Description:
@@ -100,6 +99,7 @@ public: // With description
public:
G4VVisManager ();
virtual ~G4VVisManager ();
public: // With description
@@ -228,11 +228,32 @@ public: // With description
#endif
G4bool GetDrawOverlapsFlag() const {return fDrawOverlapsFlag;}
// This is intended to be inspected by methods capable of drawing
// overlaps. See for example, CheckOverlaps in G4PVPlacement and
// G4PVParameterised.
void SetDrawOverlapsFlag(G4bool draw) {fDrawOverlapsFlag = draw;}
// This is for use by specialist models that request drawing of overlaps.
// It must be unset after use (by calling with a false argument). See,
// for example, G4LogicalVolumeModel.
// This must not be set by the user because the coordinate system is only
// valid under certain conditions. It must be unset so that overlaps are
// not drawn when, for example, CheckOverlaps is called during detector
// construction or when the user requests overlap checking with
// /geometry/test/run. (It is only in special cases that the viewer is ready
// to have the overlaps drawn in the logical volume's coordinate system
// and this must be decided by the vis system.)
protected:
static void SetConcreteInstance (G4VVisManager*);
static G4VVisManager* fpConcreteInstance; // Pointer to real G4VisManager.
private:
G4bool fDrawOverlapsFlag;
};
#endif