Geant4
10.03
|
#include <G4DisplacedSolid.hh>
Protected Attributes | |
G4VSolid * | fPtrSolid |
G4AffineTransform * | fPtrTransform |
G4AffineTransform * | fDirectTransform |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
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 53 of file G4DisplacedSolid.hh.
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
G4RotationMatrix * | rotMatrix, | ||
const G4ThreeVector & | transVector | ||
) |
Definition at line 54 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, fPtrTransform, and G4AffineTransform::Invert().
Referenced by Clone().
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
const G4Transform3D & | transform | ||
) |
Definition at line 70 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, fPtrTransform, and G4AffineTransform::Invert().
G4DisplacedSolid::G4DisplacedSolid | ( | const G4String & | pName, |
G4VSolid * | pSolid, | ||
const G4AffineTransform | directTransform | ||
) |
Definition at line 89 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, fPtrTransform, and G4AffineTransform::Inverse().
|
virtual |
Definition at line 114 of file G4DisplacedSolid.cc.
References CleanTransformations(), and fpPolyhedron.
G4DisplacedSolid::G4DisplacedSolid | ( | __void__ & | a | ) |
Definition at line 104 of file G4DisplacedSolid.cc.
G4DisplacedSolid::G4DisplacedSolid | ( | const G4DisplacedSolid & | rhs | ) |
Definition at line 124 of file G4DisplacedSolid.cc.
References fDirectTransform, and fPtrTransform.
|
virtual |
Implements G4VSolid.
Definition at line 312 of file G4DisplacedSolid.cc.
References G4VSolid::CalculateExtent(), fDirectTransform, fPtrSolid, and G4AffineTransform::Product().
void G4DisplacedSolid::CleanTransformations | ( | ) |
Definition at line 158 of file G4DisplacedSolid.cc.
References fDirectTransform, and fPtrTransform.
Referenced by ~G4DisplacedSolid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 444 of file G4DisplacedSolid.cc.
References G4DisplacedSolid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 409 of file G4DisplacedSolid.cc.
References G4VSolid::DumpInfo(), FatalException, and G4Exception().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 490 of file G4DisplacedSolid.cc.
References G4VSolid::CreatePolyhedron(), fPtrSolid, GetObjectRotation(), and GetObjectTranslation().
Referenced by GetPolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 480 of file G4DisplacedSolid.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 350 of file G4DisplacedSolid.cc.
References G4VSolid::DistanceToIn(), fPtrSolid, fPtrTransform, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 364 of file G4DisplacedSolid.cc.
References G4VSolid::DistanceToIn(), fPtrSolid, fPtrTransform, and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 375 of file G4DisplacedSolid.cc.
References G4VSolid::DistanceToOut(), fDirectTransform, fPtrSolid, fPtrTransform, G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
virtual |
Implements G4VSolid.
Definition at line 398 of file G4DisplacedSolid.cc.
References G4VSolid::DistanceToOut(), fPtrSolid, fPtrTransform, and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 268 of file G4DisplacedSolid.cc.
References G4VSolid::CalculateExtent(), G4VSolid::DumpInfo(), G4VSolid::Extent(), fDirectTransform, fPtrSolid, G4Exception(), G4VSolid::GetName(), G4AffineTransform::IsRotated(), JustWarning, kXAxis, kYAxis, kZAxis, and G4AffineTransform::NetTranslation().
G4VSolid * G4DisplacedSolid::GetConstituentMovedSolid | ( | ) | const |
Definition at line 177 of file G4DisplacedSolid.cc.
References fPtrSolid.
Referenced by G4tgbGeometryDumper::DumpBooleanVolume().
G4AffineTransform G4DisplacedSolid::GetDirectTransform | ( | ) | const |
Definition at line 198 of file G4DisplacedSolid.cc.
References fDirectTransform.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 167 of file G4DisplacedSolid.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 172 of file G4DisplacedSolid.cc.
|
virtual |
Implements G4VSolid.
Definition at line 435 of file G4DisplacedSolid.cc.
Referenced by StreamInfo().
G4RotationMatrix G4DisplacedSolid::GetFrameRotation | ( | ) | const |
Definition at line 212 of file G4DisplacedSolid.cc.
References fDirectTransform, and G4AffineTransform::NetRotation().
G4ThreeVector G4DisplacedSolid::GetFrameTranslation | ( | ) | const |
Definition at line 226 of file G4DisplacedSolid.cc.
References fPtrTransform, and G4AffineTransform::NetTranslation().
G4RotationMatrix G4DisplacedSolid::GetObjectRotation | ( | ) | const |
Definition at line 239 of file G4DisplacedSolid.cc.
References fPtrTransform, and G4AffineTransform::NetRotation().
Referenced by CreatePolyhedron().
G4ThreeVector G4DisplacedSolid::GetObjectTranslation | ( | ) | const |
Definition at line 253 of file G4DisplacedSolid.cc.
References fDirectTransform, and G4AffineTransform::NetTranslation().
Referenced by CreatePolyhedron(), and G4tgbGeometryDumper::DumpBooleanVolume().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 425 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, G4VSolid::GetPointOnSurface(), and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 502 of file G4DisplacedSolid.cc.
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, and G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation().
G4AffineTransform G4DisplacedSolid::GetTransform | ( | ) | const |
Definition at line 184 of file G4DisplacedSolid.cc.
References fPtrTransform.
|
virtual |
Implements G4VSolid.
Definition at line 327 of file G4DisplacedSolid.cc.
References fPtrSolid, fPtrTransform, G4VSolid::Inside(), and G4AffineTransform::TransformPoint().
G4DisplacedSolid & G4DisplacedSolid::operator= | ( | const G4DisplacedSolid & | rhs | ) |
Definition at line 136 of file G4DisplacedSolid.cc.
References fDirectTransform, fpPolyhedron, fPtrSolid, fPtrTransform, fRebuildPolyhedron, and G4VSolid::operator=().
void G4DisplacedSolid::SetDirectTransform | ( | G4AffineTransform & | transform | ) |
Definition at line 204 of file G4DisplacedSolid.cc.
References fDirectTransform, and fRebuildPolyhedron.
void G4DisplacedSolid::SetFrameRotation | ( | const G4RotationMatrix & | matrix | ) |
Definition at line 218 of file G4DisplacedSolid.cc.
References fDirectTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetRotation().
void G4DisplacedSolid::SetFrameTranslation | ( | const G4ThreeVector & | vector | ) |
Definition at line 231 of file G4DisplacedSolid.cc.
References fPtrTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetTranslation().
void G4DisplacedSolid::SetObjectRotation | ( | const G4RotationMatrix & | matrix | ) |
Definition at line 245 of file G4DisplacedSolid.cc.
References fPtrTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetRotation().
void G4DisplacedSolid::SetObjectTranslation | ( | const G4ThreeVector & | vector | ) |
Definition at line 258 of file G4DisplacedSolid.cc.
References fDirectTransform, fRebuildPolyhedron, and G4AffineTransform::SetNetTranslation().
void G4DisplacedSolid::SetTransform | ( | G4AffineTransform & | transform | ) |
Definition at line 190 of file G4DisplacedSolid.cc.
References fPtrTransform, and fRebuildPolyhedron.
|
virtual |
Implements G4VSolid.
Definition at line 453 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, GetEntityType(), G4VSolid::GetName(), G4AffineTransform::NetRotation(), G4AffineTransform::NetTranslation(), and G4VSolid::StreamInfo().
|
virtual |
Implements G4VSolid.
Definition at line 338 of file G4DisplacedSolid.cc.
References fDirectTransform, fPtrSolid, fPtrTransform, CLHEP::normal(), G4VSolid::SurfaceNormal(), G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
|
protected |
Definition at line 165 of file G4DisplacedSolid.hh.
Referenced by CalculateExtent(), CleanTransformations(), DistanceToOut(), Extent(), G4DisplacedSolid(), GetDirectTransform(), GetFrameRotation(), GetObjectTranslation(), GetPointOnSurface(), operator=(), SetDirectTransform(), SetFrameRotation(), SetObjectTranslation(), StreamInfo(), and SurfaceNormal().
|
mutableprotected |
Definition at line 167 of file G4DisplacedSolid.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4DisplacedSolid().
|
protected |
Definition at line 163 of file G4DisplacedSolid.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), Extent(), G4DisplacedSolid(), GetConstituentMovedSolid(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 164 of file G4DisplacedSolid.hh.
Referenced by CleanTransformations(), DistanceToIn(), DistanceToOut(), G4DisplacedSolid(), GetFrameTranslation(), GetObjectRotation(), GetTransform(), Inside(), operator=(), SetFrameTranslation(), SetObjectRotation(), SetTransform(), and SurfaceNormal().
|
mutableprotected |
Definition at line 166 of file G4DisplacedSolid.hh.
Referenced by GetPolyhedron(), operator=(), SetDirectTransform(), SetFrameRotation(), SetFrameTranslation(), SetObjectRotation(), SetObjectTranslation(), and SetTransform().