105 :
G4VSolid(a), fPtrSolid(0), fPtrTransform(0),
106 fDirectTransform(0), fpPolyhedron(0)
125 :
G4VSolid (rhs), fPtrSolid(rhs.fPtrSolid), fpPolyhedron(0)
139 if (
this == &rhs) {
return *
this; }
340 calcNorm,validNorm,&solNorm) ;
369 G4Exception(
"G4DisplacedSolid::ComputeDimensions()",
371 "Method not applicable in this context!");
392 return G4String(
"G4DisplacedSolid");
410 os <<
"-----------------------------------------------------------\n"
411 <<
" *** Dump for Displaced solid - " <<
GetName() <<
" ***\n"
412 <<
" ===================================================\n"
414 <<
" Parameters of constituent solid: \n"
415 <<
"===========================================================\n";
417 os <<
"===========================================================\n"
418 <<
" Transformations: \n"
419 <<
" Direct transformation - translation : \n"
421 <<
" - rotation : \n"
425 <<
"===========================================================\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()
std::ostream & print(std::ostream &os) const
void CleanTransformations()
G4ThreeVector GetFrameTranslation() const
G4RotationMatrix GetObjectRotation() const
const G4DisplacedSolid * GetDisplacedSolidPtr() const
G4AffineTransform GetDirectTransform() const
G4Polyhedron * CreatePolyhedron() const
HepPolyhedron & Transform(const G4Transform3D &t)
virtual void AddSolid(const G4Box &)=0
G4ThreeVector GetObjectTranslation() const
HepRotation inverse() const
G4RotationMatrix GetFrameRotation() const
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
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
static G4int GetNumberOfRotationSteps()
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