Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4BooleanSolid.hh,v 1.5 2001/07/11 09:59:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4BooleanSolid.hh,v 1.6 2002/10/28 11:36:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4BooleanSolid
|
||||
@@ -34,7 +34,9 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 10.09.98 V.Grichine, creation according J. Apostolakis's recommendations.
|
||||
// 10.09.98 V.Grichine, created
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
|
||||
#ifndef G4BOOLEANSOLID_HH
|
||||
@@ -75,6 +77,10 @@ class G4BooleanSolid : public G4VSolid
|
||||
// return the corresponding solid (for no=0 and 1)
|
||||
// If the solid is not a "Boolean", return 0.
|
||||
|
||||
virtual G4GeometryType GetEntityType() const;
|
||||
|
||||
G4std::ostream& StreamInfo(G4std::ostream& os) const;
|
||||
|
||||
protected:
|
||||
|
||||
G4VSolid* fPtrSolidA ;
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4DisplacedSolid.hh,v 1.11 2001/07/11 09:59:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4DisplacedSolid.hh,v 1.13 2002/10/29 14:13:53 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4DisplacedSolid
|
||||
@@ -35,8 +35,10 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 28.10.98 V.Grichine, creation according J. Apostolakis's recommendations
|
||||
// 22.11.00 V.Grichine, new set methods for matrix/vectors
|
||||
// 28.10.98 V.Grichine: created
|
||||
// 22.11.00 V.Grichine: new set methods for matrix/vectors
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
#ifndef G4DisplacedSolid_HH
|
||||
#define G4DisplacedSolid_HH
|
||||
@@ -97,7 +99,9 @@ class G4DisplacedSolid : public G4VSolid
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep ) ;
|
||||
|
||||
|
||||
void CleanTransformations();
|
||||
|
||||
public: // with description
|
||||
|
||||
virtual G4GeometryType GetEntityType() const;
|
||||
@@ -130,6 +134,8 @@ class G4DisplacedSolid : public G4VSolid
|
||||
void SetObjectTranslation(const G4ThreeVector&);
|
||||
// Get/Set the rotation/translation, as applied to the object.
|
||||
|
||||
G4std::ostream& StreamInfo(G4std::ostream& os) const;
|
||||
|
||||
public: // without description
|
||||
|
||||
void DescribeYourselfTo ( G4VGraphicsScene& scene ) const ;
|
||||
@@ -151,7 +157,3 @@ class G4DisplacedSolid : public G4VSolid
|
||||
} ;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4IntersectionSolid.hh,v 1.5 2001/07/11 09:59:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4IntersectionSolid.hh,v 1.6 2002/10/28 11:36:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4IntersectionSolid
|
||||
@@ -33,9 +33,10 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 12.09.98 V. Grichine, initial design according to J.Apostolakis's
|
||||
// recommendations
|
||||
// 28.10.98 V. Grichine, addition of two constructors with G4PlacedSolid
|
||||
// 12.09.98 V.Grichine: initial design and implementation
|
||||
// 28.10.98 V.Grichine: addition of two constructors with G4PlacedSolid
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
#ifndef G4INTERSECTIONSOLID_HH
|
||||
#define G4INTERSECTIONSOLID_HH
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ReflectedSolid.hh,v 1.5 2002/02/15 15:55:25 grichine Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4ReflectedSolid.hh,v 1.6 2002/10/28 11:36:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4ReflectedSolid
|
||||
@@ -34,8 +34,10 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 23.07.01 V.Grichine, creation according John/Gabriele recommendations
|
||||
// 15.02.02 V.Grichine, get/set methods for fPtr(Direct)Transform3D
|
||||
// 23.07.01 V.Grichine: created
|
||||
// 15.02.02 V.Grichine: get/set methods for fPtr(Direct)Transform3D
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
#ifndef G4ReflectedSolid_HH
|
||||
#define G4ReflectedSolid_HH
|
||||
@@ -64,10 +66,10 @@ class G4ReflectedSolid : public G4VSolid
|
||||
|
||||
EInside Inside( const G4ThreeVector& p ) const ;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const ;
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const ;
|
||||
|
||||
G4ThreeVector SurfaceNormal( const G4ThreeVector& p ) const ;
|
||||
|
||||
@@ -77,16 +79,15 @@ class G4ReflectedSolid : public G4VSolid
|
||||
G4double DistanceToIn( const G4ThreeVector& p) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p,
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p ) const ;
|
||||
|
||||
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep ) ;
|
||||
|
||||
public: // with description
|
||||
@@ -106,6 +107,7 @@ class G4ReflectedSolid : public G4VSolid
|
||||
void SetDirectTransform3D(G4Transform3D&);
|
||||
// Accessors methods.
|
||||
|
||||
G4std::ostream& StreamInfo(G4std::ostream& os) const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -148,11 +150,3 @@ class G4ReflectedSolid : public G4VSolid
|
||||
} ;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ReflectionFactory.hh,v 1.1 2001/10/18 10:05:08 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4Reflection
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SubtractionSolid.hh,v 1.5 2001/07/11 09:59:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4SubtractionSolid.hh,v 1.6 2002/10/28 11:36:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4SubtractionSolid
|
||||
@@ -33,8 +33,9 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 14.10.98 V.Grichine - first implementation.
|
||||
|
||||
// 14.10.98 V.Grichine: first implementation
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
#ifndef G4SUBTRACTIONSOLID_HH
|
||||
#define G4SUBTRACTIONSOLID_HH
|
||||
@@ -74,9 +75,9 @@ class G4SubtractionSolid : public G4BooleanSolid
|
||||
public: // without description
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const ;
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const ;
|
||||
|
||||
EInside Inside( const G4ThreeVector& p ) const ;
|
||||
|
||||
@@ -88,16 +89,16 @@ class G4SubtractionSolid : public G4BooleanSolid
|
||||
G4double DistanceToIn( const G4ThreeVector& p) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p,
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p ) const ;
|
||||
|
||||
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep ) ;
|
||||
|
||||
void DescribeYourselfTo ( G4VGraphicsScene& scene ) const ;
|
||||
@@ -107,4 +108,3 @@ class G4SubtractionSolid : public G4BooleanSolid
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UnionSolid.hh,v 1.6 2001/07/11 09:59:51 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: G4UnionSolid.hh,v 1.7 2002/10/28 11:36:28 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
//
|
||||
//
|
||||
// class G4UnionSolid
|
||||
@@ -33,7 +33,9 @@
|
||||
|
||||
// History:
|
||||
//
|
||||
// 12.09.98 V.Grichine, created.
|
||||
// 12.09.98 V.Grichine: created
|
||||
//
|
||||
// ********************************************************************
|
||||
|
||||
#ifndef G4UNIONSOLID_HH
|
||||
#define G4UNIONSOLID_HH
|
||||
@@ -72,9 +74,9 @@ class G4UnionSolid : public G4BooleanSolid
|
||||
public: // without description
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const ;
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax ) const ;
|
||||
|
||||
EInside Inside( const G4ThreeVector& p ) const ;
|
||||
|
||||
@@ -83,19 +85,19 @@ class G4UnionSolid : public G4BooleanSolid
|
||||
G4double DistanceToIn( const G4ThreeVector& p,
|
||||
const G4ThreeVector& v ) const ;
|
||||
|
||||
G4double DistanceToIn( const G4ThreeVector& p) const ;
|
||||
G4double DistanceToIn( const G4ThreeVector& p ) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p,
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
const G4ThreeVector& v,
|
||||
const G4bool calcNorm=false,
|
||||
G4bool *validNorm=0,
|
||||
G4ThreeVector *n=0 ) const ;
|
||||
|
||||
G4double DistanceToOut( const G4ThreeVector& p ) const ;
|
||||
|
||||
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
void ComputeDimensions( G4VPVParameterisation* p,
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep ) ;
|
||||
|
||||
void DescribeYourselfTo ( G4VGraphicsScene& scene ) const ;
|
||||
@@ -105,4 +107,3 @@ class G4UnionSolid : public G4BooleanSolid
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user