Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4AttValueFilterT.hh 108542 2018-02-16 09:35:32Z gcosmo $
|
||||
// $Id: G4AttValueFilterT.hh 108059 2017-12-19 15:13:34Z gcosmo $
|
||||
//
|
||||
// Templated class for G4AttValue filters.
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4LogicalVolumeModel.hh 66373 2012-12-18 09:41:34Z gcosmo $
|
||||
// $Id: G4LogicalVolumeModel.hh 110480 2018-05-25 07:25:18Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 26th July 1999.
|
||||
@@ -58,6 +58,7 @@ public: // With description
|
||||
G4bool booleans = true,
|
||||
G4bool voxels = true,
|
||||
G4bool readout = true,
|
||||
G4bool checkOverlaps = true,
|
||||
const G4Transform3D& modelTransformation = G4Transform3D(),
|
||||
const G4ModelingParameters* = 0);
|
||||
|
||||
@@ -84,6 +85,7 @@ protected:
|
||||
G4bool fBooleans; // Flag for drawing boolean components.
|
||||
G4bool fVoxels; // Flag for drawing voxels.
|
||||
G4bool fReadout; // Flag for drawing readout geometry.
|
||||
G4bool fCheckOverlaps; // Flag for checking overlaps.
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ModelingParameters.hh 103627 2017-04-19 13:30:26Z gcosmo $
|
||||
// $Id: G4ModelingParameters.hh 109510 2018-04-26 07:15:57Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 31st December 1997.
|
||||
@@ -178,6 +178,8 @@ public: // With description
|
||||
G4bool IsDensityCulling () const;
|
||||
G4double GetVisibleDensity () const;
|
||||
G4bool IsCullingCovered () const;
|
||||
G4int GetCBDAlgorithmNumber () const;
|
||||
const std::vector<G4double>& GetCBDParameters () const;
|
||||
G4bool IsExplode () const;
|
||||
G4double GetExplodeFactor () const;
|
||||
const G4Point3D& GetExplodeCentre () const;
|
||||
@@ -196,6 +198,8 @@ public: // With description
|
||||
void SetDensityCulling (G4bool);
|
||||
void SetVisibleDensity (G4double);
|
||||
void SetCullingCovered (G4bool);
|
||||
void SetCBDAlgorithmNumber (G4int);
|
||||
void SetCBDParameters (const std::vector<G4double>&);
|
||||
void SetExplodeFactor (G4double explodeFactor);
|
||||
void SetExplodeCentre (const G4Point3D& explodeCentre);
|
||||
G4int SetNoOfSides (G4int); // Returns actual number set.
|
||||
@@ -228,6 +232,8 @@ private:
|
||||
G4bool fDensityCulling; // Density culling requested. If so...
|
||||
G4double fVisibleDensity; // ...density lower than this not drawn.
|
||||
G4bool fCullCovered; // Cull daughters covered by opaque mothers.
|
||||
G4int fCBDAlgorithmNumber; // Colour by density algorithm number.
|
||||
std::vector<G4double> fCBDParameters; // Colour by density parameters.
|
||||
G4double fExplodeFactor; // Explode along radius by this factor...
|
||||
G4Point3D fExplodeCentre; // ...about this centre.
|
||||
G4int fNoOfSides; // ...if polygon approximates circle.
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ModelingParameters.icc 99418 2016-09-21 09:18:42Z gcosmo $
|
||||
// $Id: G4ModelingParameters.icc 109510 2018-04-26 07:15:57Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 31st December 1997.
|
||||
@@ -64,6 +64,14 @@ inline G4bool G4ModelingParameters::IsCullingCovered () const {
|
||||
return fCullCovered;
|
||||
}
|
||||
|
||||
inline G4int G4ModelingParameters::GetCBDAlgorithmNumber () const {
|
||||
return fCBDAlgorithmNumber;
|
||||
}
|
||||
|
||||
inline const std::vector<G4double>& G4ModelingParameters::GetCBDParameters () const {
|
||||
return fCBDParameters;
|
||||
}
|
||||
|
||||
inline G4bool G4ModelingParameters::IsExplode () const {
|
||||
return fExplodeFactor > 1.;
|
||||
}
|
||||
@@ -125,6 +133,14 @@ inline void G4ModelingParameters::SetCullingCovered (G4bool value) {
|
||||
fCullCovered = value;
|
||||
}
|
||||
|
||||
inline void G4ModelingParameters::SetCBDAlgorithmNumber (G4int n) {
|
||||
fCBDAlgorithmNumber = n;
|
||||
}
|
||||
|
||||
inline void G4ModelingParameters::SetCBDParameters (const std::vector<G4double>& p) {
|
||||
fCBDParameters = p;
|
||||
}
|
||||
|
||||
inline void G4ModelingParameters::SetExplodeFactor (G4double explodeFactor) {
|
||||
fExplodeFactor = explodeFactor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user