Files
geant4/source/persistency/geometry/solids/Boolean/include/G4PDisplacedSolid.ddl
T
2016-06-08 16:10:37 +02:00

64 lines
2.4 KiB
Plaintext

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// Persistent class describing solid placements for boolean operations
//
// History:
// 10.11.99 Y.Morita, Initial creation
#ifndef G4PDisplacedSolid_DDL
#define G4PDisplacedSolid_DDL
#include "G4PersistentSchema.hh"
#include "G4PVSolid.hh"
#include "G4PAffineTransform.hh"
class G4VSolid;
class G4PDisplacedSolid
: public G4PVSolid
{
public:
G4PDisplacedSolid ( HepRef(G4PVSolid) persCostituentSolid,
HepRef(G4PAffineTransform) pDirectTransform );
virtual ~G4PDisplacedSolid();
G4VSolid* MakeTransientObject() const;
G4VSolid* MakeTransientDisplacedSolid(G4VSolid* aSolid) const;
virtual G4GeometryType GetEntityType() const
{ return G4String("G4DisplacedSolid"); }
HepRef(G4PVSolid) GetConstituentMovedSolid();
protected:
d_Ref<G4PVSolid> fPtrSolid;
// fPtrTransform can be created by fDirectTransform.Inverse()
d_Ref<G4PAffineTransform> fDirectTransform;
private:
};
#endif