58 :
G4VSolid(pName), fRebuildPolyhedron(false), fpPolyhedron(0)
73 :
G4VSolid(pName), fRebuildPolyhedron(false), fpPolyhedron(0)
77 transform.getTranslation()) ;
80 transform.getTranslation()) ;
92 :
G4VSolid(pName), fRebuildPolyhedron(false), fpPolyhedron(0)
105 :
G4VSolid(a), fPtrSolid(0), fPtrTransform(0),
106 fDirectTransform(0), fRebuildPolyhedron(false), fpPolyhedron(0)
125 :
G4VSolid (rhs), fPtrSolid(rhs.fPtrSolid),
126 fRebuildPolyhedron(false), fpPolyhedron(0)
140 if (
this == &rhs) {
return *
this; }
342 calcNorm,validNorm,&solNorm) ;
371 G4Exception(
"G4DisplacedSolid::ComputeDimensions()",
373 "Method not applicable in this context!");
394 return G4String(
"G4DisplacedSolid");
412 os <<
"-----------------------------------------------------------\n"
413 <<
" *** Dump for Displaced solid - " <<
GetName() <<
" ***\n"
414 <<
" ===================================================\n"
416 <<
" Parameters of constituent solid: \n"
417 <<
"===========================================================\n";
419 os <<
"===========================================================\n"
420 <<
" Transformations: \n"
421 <<
" Direct transformation - translation : \n"
423 <<
" - rotation : \n"
427 <<
"===========================================================\n";
G4DisplacedSolid & operator=(const G4DisplacedSolid &rhs)
virtual G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const =0
G4Polyhedron * GetPolyhedron() const
virtual ~G4DisplacedSolid()
CLHEP::Hep3Vector G4ThreeVector
CLHEP::HepRotation G4RotationMatrix
void CleanTransformations()
G4ThreeVector GetFrameTranslation() const
G4RotationMatrix GetObjectRotation() const
const G4DisplacedSolid * GetDisplacedSolidPtr() const
G4AffineTransform GetDirectTransform() const
G4Polyhedron * CreatePolyhedron() const
virtual void AddSolid(const G4Box &)=0
G4ThreeVector GetObjectTranslation() const
G4RotationMatrix GetFrameRotation() const
static double normal(HepRandomEngine *eptr)
virtual std::ostream & StreamInfo(std::ostream &os) const =0
void SetDirectTransform(G4AffineTransform &)
virtual EInside Inside(const G4ThreeVector &p) const =0
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
void SetFrameTranslation(const G4ThreeVector &)
virtual G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const =0
G4DisplacedSolid(const G4String &pName, G4VSolid *pSolid, G4RotationMatrix *rotMatrix, const G4ThreeVector &transVector)
virtual G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const =0
virtual G4Polyhedron * CreatePolyhedron() const
G4bool fRebuildPolyhedron
G4GeometryType GetEntityType() const
G4AffineTransform GetTransform() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4AffineTransform * fPtrTransform
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4VSolid * GetConstituentMovedSolid() const
virtual G4ThreeVector GetPointOnSurface() const
G4Polyhedron * fpPolyhedron
G4AffineTransform * fDirectTransform
G4VSolid & operator=(const G4VSolid &rhs)
G4int GetNumberOfRotationStepsAtTimeOfCreation() const
void SetObjectTranslation(const G4ThreeVector &)
void SetTransform(G4AffineTransform &)
std::ostream & StreamInfo(std::ostream &os) const
virtual G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const =0
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
void SetObjectRotation(const G4RotationMatrix &)
void SetFrameRotation(const G4RotationMatrix &)
G4ThreeVector GetPointOnSurface() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
EInside Inside(const G4ThreeVector &p) const