Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -20,9 +20,14 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// Persistent base class for solids created by boolean operations
|
||||
// between other solids
|
||||
//
|
||||
// $Id: G4PBooleanSolid.ddl,v 1.6 2001/07/11 10:02:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
|
||||
// Class Description:
|
||||
// Persistent base class for solids created by boolean operations
|
||||
// between other solids
|
||||
|
||||
// History:
|
||||
// 10.11.99 Y.Morita, Initial Creation
|
||||
|
||||
@@ -35,15 +40,17 @@
|
||||
class G4PBooleanSolid
|
||||
: public G4PVSolid
|
||||
{
|
||||
public:
|
||||
public: // With description
|
||||
G4PBooleanSolid( const G4String& pName,
|
||||
HepRef(G4PVSolid) persSolidA,
|
||||
HepRef(G4PVSolid) persSolidB );
|
||||
virtual ~G4PBooleanSolid();
|
||||
// Constructor and Destructor
|
||||
|
||||
virtual G4VSolid* MakeTransientBooleanSolid(
|
||||
G4VSolid* aSolidA,
|
||||
G4VSolid* aSolidB ) const = 0;
|
||||
// Creates a transient boolean solid object.
|
||||
|
||||
public: // With Description
|
||||
// If Solid is made up from a Boolean operation of two solids,
|
||||
|
||||
@@ -20,8 +20,13 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// Persistent class describing solid placements for boolean operations
|
||||
//
|
||||
// $Id: G4PDisplacedSolid.ddl,v 1.5 2001/07/11 10:02:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
|
||||
// Class Description:
|
||||
// Persistent class describing solid placements for boolean operations
|
||||
|
||||
// History:
|
||||
// 10.11.99 Y.Morita, Initial creation
|
||||
|
||||
@@ -37,19 +42,22 @@ class G4VSolid;
|
||||
class G4PDisplacedSolid
|
||||
: public G4PVSolid
|
||||
{
|
||||
public:
|
||||
public: // With description
|
||||
G4PDisplacedSolid ( HepRef(G4PVSolid) persCostituentSolid,
|
||||
HepRef(G4PAffineTransform) pDirectTransform );
|
||||
virtual ~G4PDisplacedSolid();
|
||||
// Constructor and destructor.
|
||||
|
||||
G4VSolid* MakeTransientObject() const;
|
||||
|
||||
G4VSolid* MakeTransientDisplacedSolid(G4VSolid* aSolid) const;
|
||||
// Creates a transient G4VSolid object.
|
||||
|
||||
virtual G4GeometryType GetEntityType() const
|
||||
{ return G4String("G4DisplacedSolid"); }
|
||||
// Returns the G4GeometryType of the solid.
|
||||
|
||||
HepRef(G4PVSolid) GetConstituentMovedSolid();
|
||||
// Returns the pointer of persistent GetConstituentMovedSolid object.
|
||||
|
||||
protected:
|
||||
d_Ref<G4PVSolid> fPtrSolid;
|
||||
|
||||
@@ -20,8 +20,13 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// Persistent class for description of intersection of two CSG solids
|
||||
//
|
||||
// $Id: G4PIntersectionSolid.ddl,v 1.5 2001/07/11 10:02:21 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
|
||||
// Class Description:
|
||||
// Persistent class for description of intersection of two CSG solids
|
||||
|
||||
// History:
|
||||
// 10.11.99 Y.Morita, Initial creation
|
||||
|
||||
@@ -35,20 +40,22 @@ class G4VSolid;
|
||||
|
||||
class G4PIntersectionSolid: public G4PBooleanSolid
|
||||
{
|
||||
public:
|
||||
public: // With description
|
||||
G4PIntersectionSolid( const G4String& pName,
|
||||
HepRef(G4PVSolid) persSolidA,
|
||||
HepRef(G4PVSolid) persSolidB );
|
||||
virtual ~G4PIntersectionSolid() ;
|
||||
// Constructor and destructor
|
||||
|
||||
G4VSolid* MakeTransientObject() const;
|
||||
|
||||
G4VSolid* MakeTransientBooleanSolid(
|
||||
G4VSolid* aSolidA,
|
||||
G4VSolid* aSolidB ) const;
|
||||
// Creates a transient G4IntersectionSolid object.
|
||||
|
||||
virtual G4GeometryType GetEntityType() const
|
||||
{ return G4String("G4IntersectionSolid"); }
|
||||
// Returns the G4GeometryType of this solid.
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -20,11 +20,15 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// Persistent class for description of subtraction of two CSG solids: A - B
|
||||
//
|
||||
// $Id: G4PSubtractionSolid.ddl,v 1.5 2001/07/11 10:02:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
|
||||
// Class Description:
|
||||
// Persistent class for description of subtraction of two CSG solids: A - B
|
||||
|
||||
// History:
|
||||
// 10.11.99 Y.Morita, Initial creation
|
||||
//
|
||||
|
||||
#ifndef G4PSUBTRACTIONSOLID_DDL
|
||||
#define G4PSUBTRACTIONSOLID_DDL
|
||||
@@ -37,20 +41,22 @@ class G4VSolid;
|
||||
class G4PSubtractionSolid
|
||||
: public G4PBooleanSolid
|
||||
{
|
||||
public:
|
||||
public: // With description
|
||||
G4PSubtractionSolid( const G4String& pName,
|
||||
HepRef(G4PVSolid) persSolidA,
|
||||
HepRef(G4PVSolid) persSolidB );
|
||||
virtual ~G4PSubtractionSolid() ;
|
||||
// Constructor and Destructor
|
||||
|
||||
G4VSolid* MakeTransientObject() const;
|
||||
|
||||
G4VSolid* MakeTransientBooleanSolid(
|
||||
G4VSolid* aSolidA,
|
||||
G4VSolid* aSolidB ) const;
|
||||
// Creates a transient G4SubtractionSolid object.
|
||||
|
||||
virtual G4GeometryType GetEntityType() const
|
||||
{ return G4String("G4SubtractionSolid"); }
|
||||
// Returns the G4GeometryType of this solid.
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -20,11 +20,15 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// Persistent class for description of intersection of two CSG solids
|
||||
//
|
||||
// $Id: G4PUnionSolid.ddl,v 1.5 2001/07/11 10:02:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
|
||||
// Class Description:
|
||||
// Persistent class for description of intersection of two CSG solids
|
||||
|
||||
// History:
|
||||
// 10.11.99 Y.Morita, Initial creation
|
||||
//
|
||||
|
||||
#ifndef G4PUNIONSOLID_DDL
|
||||
#define G4PUNIONSOLID_DDL
|
||||
@@ -37,20 +41,22 @@ class G4VSolid;
|
||||
class G4PUnionSolid
|
||||
: public G4PBooleanSolid
|
||||
{
|
||||
public:
|
||||
public: // With description
|
||||
G4PUnionSolid( const G4String& pName,
|
||||
HepRef(G4PVSolid) persSolidA,
|
||||
HepRef(G4PVSolid) persSolidB );
|
||||
virtual ~G4PUnionSolid() ;
|
||||
// Constructor and Destructor
|
||||
|
||||
G4VSolid* MakeTransientObject() const;
|
||||
|
||||
G4VSolid* MakeTransientBooleanSolid(
|
||||
G4VSolid* aSolidA,
|
||||
G4VSolid* aSolidB ) const;
|
||||
// Creates a transient G4UnionSolid object.
|
||||
|
||||
virtual G4GeometryType GetEntityType() const
|
||||
{ return G4String("G4UnionSolid"); }
|
||||
// Returns the G4GeometryType of this solid.
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user