ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/Boolean/include/G4DisplacedSolid.hh>
Protected Attributes | |
G4VSolid * | fPtrSolid = nullptr |
G4AffineTransform * | fPtrTransform = nullptr |
G4AffineTransform * | fDirectTransform = nullptr |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Additional Inherited Members | |
Protected Member Functions inherited from G4VSolid | |
void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
Definition at line 45 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 45 of file G4DisplacedSolid.hh
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
G4RotationMatrix * | rotMatrix, | ||
const G4ThreeVector & | transVector | ||
) |
Definition at line 47 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 47 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, fPtrTransform, G4VSolid::GetEntityType(), G4AffineTransform::Inverse(), t1, and t2.
Referenced by Clone().
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
const G4Transform3D & | transform | ||
) |
Definition at line 72 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 72 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, fPtrTransform, G4VSolid::GetEntityType(), HepGeom::Transform3D::getRotation(), HepGeom::Transform3D::getTranslation(), G4AffineTransform::Inverse(), CLHEP::HepRotation::inverse(), t1, and t2.
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
const G4AffineTransform | directTransform | ||
) |
Definition at line 99 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 99 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, fPtrTransform, G4VSolid::GetEntityType(), G4AffineTransform::Inverse(), t1, and t2.
|
virtual |
Definition at line 133 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 133 of file G4DisplacedSolid.cc
References CleanTransformations(), and fpPolyhedron.
G4DisplacedSolid::G4DisplacedSolid | ( | __void__ & | a | ) |
Definition at line 124 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 124 of file G4DisplacedSolid.cc
G4DisplacedSolid::G4DisplacedSolid | ( | const G4DisplacedSolid & | rhs | ) |
Definition at line 143 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 143 of file G4DisplacedSolid.cc
References fDirectTransform, and fPtrTransform.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 286 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 286 of file G4DisplacedSolid.cc
References G4VSolid::BoundingLimits(), G4VSolid::CalculateExtent(), G4VSolid::DumpInfo(), fDirectTransform, fPtrSolid, G4Exception(), G4VSolid::GetName(), G4AffineTransform::IsRotated(), JustWarning, kXAxis, kYAxis, kZAxis, message(), G4AffineTransform::NetTranslation(), offset, pMax, CLHEP::Hep3Vector::set(), CLHEP::Hep3Vector::x(), xmax, xmin, CLHEP::Hep3Vector::y(), ymax, ymin, and CLHEP::Hep3Vector::z().
|
virtual |
Implements G4VSolid.
Definition at line 331 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 331 of file G4DisplacedSolid.cc
References G4VSolid::CalculateExtent(), fDirectTransform, fPtrSolid, and G4AffineTransform::Product().
void G4DisplacedSolid::CleanTransformations | ( | ) |
Definition at line 176 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 176 of file G4DisplacedSolid.cc
References fDirectTransform, and fPtrTransform.
Referenced by ~G4DisplacedSolid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 463 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 463 of file G4DisplacedSolid.cc
References G4DisplacedSolid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 428 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 428 of file G4DisplacedSolid.cc
References G4VSolid::DumpInfo(), FatalException, and G4Exception().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 509 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 509 of file G4DisplacedSolid.cc
References G4VSolid::CreatePolyhedron(), G4VSolid::DumpInfo(), fPtrSolid, G4Exception(), GetObjectRotation(), GetObjectTranslation(), JustWarning, and HepPolyhedron::Transform().
Referenced by GetPolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 499 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 499 of file G4DisplacedSolid.cc
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 369 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 369 of file G4DisplacedSolid.cc
References G4VSolid::DistanceToIn(), fPtrSolid, fPtrTransform, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 383 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 383 of file G4DisplacedSolid.cc
References G4VSolid::DistanceToIn(), fPtrSolid, fPtrTransform, and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 394 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 394 of file G4DisplacedSolid.cc
References G4VSolid::DistanceToOut(), fDirectTransform, fPtrSolid, fPtrTransform, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 417 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 417 of file G4DisplacedSolid.cc
References G4VSolid::DistanceToOut(), fPtrSolid, fPtrTransform, and G4AffineTransform::TransformPoint().
G4VSolid * G4DisplacedSolid::GetConstituentMovedSolid | ( | ) | const |
Definition at line 195 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 195 of file G4DisplacedSolid.cc
References fPtrSolid.
Referenced by G4tgbGeometryDumper::DumpBooleanVolume().
G4AffineTransform G4DisplacedSolid::GetDirectTransform | ( | ) | const |
Definition at line 216 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 216 of file G4DisplacedSolid.cc
References Acts::aTransform, and fDirectTransform.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 185 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 185 of file G4DisplacedSolid.cc
|
virtual |
Reimplemented from G4VSolid.
Definition at line 190 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 190 of file G4DisplacedSolid.cc
|
virtual |
Implements G4VSolid.
Definition at line 454 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 454 of file G4DisplacedSolid.cc
Referenced by StreamInfo().
G4RotationMatrix G4DisplacedSolid::GetFrameRotation | ( | ) | const |
Definition at line 230 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 230 of file G4DisplacedSolid.cc
References fDirectTransform, and G4AffineTransform::NetRotation().
G4ThreeVector G4DisplacedSolid::GetFrameTranslation | ( | ) | const |
Definition at line 244 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 244 of file G4DisplacedSolid.cc
References fPtrTransform, and G4AffineTransform::NetTranslation().
G4RotationMatrix G4DisplacedSolid::GetObjectRotation | ( | ) | const |
Definition at line 257 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 257 of file G4DisplacedSolid.cc
References fPtrTransform, and G4AffineTransform::NetRotation().
Referenced by CreatePolyhedron().
G4ThreeVector G4DisplacedSolid::GetObjectTranslation | ( | ) | const |
Definition at line 271 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 271 of file G4DisplacedSolid.cc
References fDirectTransform, and G4AffineTransform::NetTranslation().
Referenced by CreatePolyhedron(), and G4tgbGeometryDumper::DumpBooleanVolume().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 444 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 444 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, G4VSolid::GetPointOnSurface(), and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 531 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 531 of file G4DisplacedSolid.cc
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), and G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation().
Referenced by G4MultiUnion::CreatePolyhedron().
G4AffineTransform G4DisplacedSolid::GetTransform | ( | ) | const |
Definition at line 202 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 202 of file G4DisplacedSolid.cc
References Acts::aTransform, and fPtrTransform.
|
virtual |
Implements G4VSolid.
Definition at line 346 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 346 of file G4DisplacedSolid.cc
References fPtrSolid, fPtrTransform, G4VSolid::Inside(), and G4AffineTransform::TransformPoint().
G4DisplacedSolid & G4DisplacedSolid::operator= | ( | const G4DisplacedSolid & | rhs | ) |
Definition at line 154 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 154 of file G4DisplacedSolid.cc
References fDirectTransform, fpPolyhedron, fPtrSolid, fPtrTransform, fRebuildPolyhedron, and G4VSolid::operator=().
void G4DisplacedSolid::SetDirectTransform | ( | G4AffineTransform & | transform | ) |
Definition at line 222 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 222 of file G4DisplacedSolid.cc
References fDirectTransform, fRebuildPolyhedron, and Acts::Test::transform.
void G4DisplacedSolid::SetFrameRotation | ( | const G4RotationMatrix & | matrix | ) |
Definition at line 236 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 236 of file G4DisplacedSolid.cc
References fDirectTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetRotation().
void G4DisplacedSolid::SetFrameTranslation | ( | const G4ThreeVector & | vector | ) |
Definition at line 249 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 249 of file G4DisplacedSolid.cc
References fPtrTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetTranslation().
void G4DisplacedSolid::SetObjectRotation | ( | const G4RotationMatrix & | matrix | ) |
Definition at line 263 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 263 of file G4DisplacedSolid.cc
References fPtrTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetRotation().
void G4DisplacedSolid::SetObjectTranslation | ( | const G4ThreeVector & | vector | ) |
Definition at line 276 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 276 of file G4DisplacedSolid.cc
References fDirectTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetTranslation().
void G4DisplacedSolid::SetTransform | ( | G4AffineTransform & | transform | ) |
Definition at line 208 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 208 of file G4DisplacedSolid.cc
References fPtrTransform, fRebuildPolyhedron, and Acts::Test::transform.
|
virtual |
Implements G4VSolid.
Definition at line 472 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 472 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, GetEntityType(), G4VSolid::GetName(), G4AffineTransform::NetRotation(), G4AffineTransform::NetTranslation(), CLHEP::HepRotation::print(), and G4VSolid::StreamInfo().
|
virtual |
Implements G4VSolid.
Definition at line 357 of file G4DisplacedSolid.cc.
View newest version in sPHENIX GitHub at line 357 of file G4DisplacedSolid.cc
References fDirectTransform, fPtrSolid, fPtrTransform, CLHEP::normal(), G4VSolid::SurfaceNormal(), G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
protected |
Definition at line 157 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 157 of file G4DisplacedSolid.hh
Referenced by BoundingLimits(), CalculateExtent(), CleanTransformations(), DistanceToOut(), G4DisplacedSolid(), GetDirectTransform(), GetFrameRotation(), GetObjectTranslation(), GetPointOnSurface(), operator=(), SetDirectTransform(), SetFrameRotation(), SetObjectTranslation(), StreamInfo(), and SurfaceNormal().
|
mutableprotected |
Definition at line 159 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 159 of file G4DisplacedSolid.hh
Referenced by GetPolyhedron(), operator=(), and ~G4DisplacedSolid().
|
protected |
Definition at line 155 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 155 of file G4DisplacedSolid.hh
Referenced by BoundingLimits(), CalculateExtent(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4DisplacedSolid(), GetConstituentMovedSolid(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 156 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 156 of file G4DisplacedSolid.hh
Referenced by CleanTransformations(), DistanceToIn(), DistanceToOut(), G4DisplacedSolid(), GetFrameTranslation(), GetObjectRotation(), GetTransform(), Inside(), operator=(), SetFrameTranslation(), SetObjectRotation(), SetTransform(), and SurfaceNormal().
Definition at line 158 of file G4DisplacedSolid.hh.
View newest version in sPHENIX GitHub at line 158 of file G4DisplacedSolid.hh
Referenced by GetPolyhedron(), operator=(), SetDirectTransform(), SetFrameRotation(), SetFrameTranslation(), SetObjectRotation(), SetObjectTranslation(), and SetTransform().