Geant4
10.01.p02
|
#include <G4PhantomParameterisation.hh>
Protected Attributes | |
G4double | fVoxelHalfX |
G4double | fVoxelHalfY |
G4double | fVoxelHalfZ |
size_t | fNoVoxelX |
size_t | fNoVoxelY |
size_t | fNoVoxelZ |
size_t | fNoVoxelXY |
size_t | fNoVoxel |
std::vector< G4Material * > | fMaterials |
size_t * | fMaterialIndices |
G4VSolid * | fContainerSolid |
G4double | fContainerWallX |
G4double | fContainerWallY |
G4double | fContainerWallZ |
G4double | kCarTolerance |
G4bool | bSkipEqualMaterials |
Private Member Functions | |
void | ComputeVoxelIndices (const G4int copyNo, size_t &nx, size_t &ny, size_t &nz) const |
void | CheckCopyNo (const G4int copyNo) const |
Definition at line 73 of file G4PhantomParameterisation.hh.
G4PhantomParameterisation::G4PhantomParameterisation | ( | ) |
Definition at line 46 of file G4PhantomParameterisation.cc.
References G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and kCarTolerance.
G4PhantomParameterisation::~G4PhantomParameterisation | ( | ) |
Definition at line 58 of file G4PhantomParameterisation.cc.
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VPhysicalVolume * | pPhysicalVol | ) |
Definition at line 65 of file G4PhantomParameterisation.cc.
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
Referenced by DicomRegularDetectorConstruction::ConstructPhantom().
void G4PhantomParameterisation::BuildContainerSolid | ( | G4VSolid * | pMotherSolid | ) |
Definition at line 77 of file G4PhantomParameterisation.cc.
References fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, and fVoxelHalfZ.
|
private |
Definition at line 386 of file G4PhantomParameterisation.cc.
References FatalErrorInArgument, fNoVoxel, G4endl, and G4Exception().
Referenced by ComputeMaterial(), ComputeVoxelIndices(), GetMaterialIndex(), and GetTranslation().
void G4PhantomParameterisation::CheckVoxelsFillContainer | ( | G4double | contX, |
G4double | contY, | ||
G4double | contZ | ||
) | const |
Definition at line 184 of file G4PhantomParameterisation.cc.
References FatalException, fContainerSolid, fNoVoxelX, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), JustWarning, and kCarTolerance.
Referenced by DicomRegularDetectorConstruction::ConstructPhantom().
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 89 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 91 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 93 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 95 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 97 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 99 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 101 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 103 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 105 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 107 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 109 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 111 of file G4PhantomParameterisation.hh.
|
inlinevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 113 of file G4PhantomParameterisation.hh.
|
virtual |
Reimplemented from G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation, and DicomPhantomParameterisationColour.
Definition at line 129 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), fMaterials, and GetMaterialIndex().
Referenced by G4GMocrenFileSceneHandler::AddSolid(), DicomPhantomParameterisationColour::ComputeMaterial(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and G4RegularNavigation::LevelLocate().
|
virtual |
Reimplemented from G4VPVParameterisation.
Definition at line 121 of file G4PhantomParameterisation.cc.
References G4VPhysicalVolume::GetLogicalVolume(), and G4LogicalVolume::GetSolid().
|
virtual |
Implements G4VPVParameterisation.
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 90 of file G4PhantomParameterisation.cc.
References GetTranslation(), and G4VPhysicalVolume::SetTranslation().
Referenced by G4RegularNavigation::LevelLocate().
|
private |
Definition at line 172 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), fNoVoxelX, fNoVoxelXY, and fNoVoxelY.
Referenced by GetTranslation().
|
inline |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 159 of file G4PhantomParameterisation.cc.
References fMaterials, and GetMaterialIndex().
Referenced by DicomIntersectVolume::SetNewValue(), and G4EnergySplitter::SplitEnergyInVolumes().
G4Material * G4PhantomParameterisation::GetMaterial | ( | size_t | copyNo | ) | const |
Definition at line 165 of file G4PhantomParameterisation.cc.
References fMaterials, and GetMaterialIndex().
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) | const |
Definition at line 151 of file G4PhantomParameterisation.cc.
References fNoVoxelX, and fNoVoxelXY.
Referenced by ComputeMaterial(), GetMaterial(), and DicomIntersectVolume::SetNewValue().
size_t G4PhantomParameterisation::GetMaterialIndex | ( | size_t | copyNo | ) | const |
Definition at line 140 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), and fMaterialIndices.
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
virtual |
Reimplemented in G4PartialPhantomParameterisation.
Definition at line 231 of file G4PhantomParameterisation.cc.
References FatalErrorInArgument, fContainerSolid, fContainerWallX, fContainerWallY, fContainerWallZ, fNoVoxelX, fNoVoxelXY, fNoVoxelY, fNoVoxelZ, fVoxelHalfX, fVoxelHalfY, fVoxelHalfZ, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::Inside(), JustWarning, kCarTolerance, and kOutside.
Referenced by G4RegularNavigation::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and G4RegularNavigation::LevelLocate().
G4ThreeVector G4PhantomParameterisation::GetTranslation | ( | const G4int | copyNo | ) | const |
Definition at line 102 of file G4PhantomParameterisation.cc.
References CheckCopyNo(), ComputeVoxelIndices(), fContainerWallX, fContainerWallY, fContainerWallZ, fVoxelHalfX, fVoxelHalfY, and fVoxelHalfZ.
Referenced by G4RegularNavigation::ComputeStep(), G4RegularNavigation::ComputeStepSkippingEqualMaterials(), and ComputeTransformation().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and DicomIntersectVolume::SetNewValue().
|
inline |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
|
inline |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
void G4PhantomParameterisation::SetNoVoxel | ( | size_t | nx, |
size_t | ny, | ||
size_t | nz | ||
) |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
void G4PhantomParameterisation::SetSkipEqualMaterials | ( | G4bool | skip | ) |
Referenced by DicomPartialDetectorConstruction::ConstructPhantom(), and DicomPhantomParameterisationColour::DicomPhantomParameterisationColour().
void G4PhantomParameterisation::SetVoxelDimensions | ( | G4double | halfx, |
G4double | halfy, | ||
G4double | halfz | ||
) |
Referenced by DicomRegularDetectorConstruction::ConstructPhantom(), and DicomPartialDetectorConstruction::ConstructPhantom().
G4bool G4PhantomParameterisation::SkipEqualMaterials | ( | ) | const |
Referenced by G4RegularNavigation::ComputeStepSkippingEqualMaterials().
|
protected |
Definition at line 197 of file G4PhantomParameterisation.hh.
|
protected |
Definition at line 187 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), CheckVoxelsFillContainer(), and GetReplicaNo().
|
protected |
Definition at line 191 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 191 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 191 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 184 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::GetMaterialIndex(), and GetMaterialIndex().
|
protected |
Definition at line 182 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::ComputeMaterial(), ComputeMaterial(), G4PartialPhantomParameterisation::GetMaterial(), and GetMaterial().
|
protected |
Definition at line 179 of file G4PhantomParameterisation.hh.
Referenced by G4PartialPhantomParameterisation::CheckCopyNo(), and CheckCopyNo().
|
protected |
Definition at line 175 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 177 of file G4PhantomParameterisation.hh.
Referenced by ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetMaterialIndex(), GetMaterialIndex(), and GetReplicaNo().
|
protected |
Definition at line 175 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::ComputeVoxelIndices(), ComputeVoxelIndices(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 175 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().
|
protected |
Definition at line 173 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 173 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 173 of file G4PhantomParameterisation.hh.
Referenced by BuildContainerSolid(), G4PartialPhantomParameterisation::BuildContainerWalls(), CheckVoxelsFillContainer(), G4PartialPhantomParameterisation::GetReplicaNo(), GetReplicaNo(), G4PartialPhantomParameterisation::GetTranslation(), and GetTranslation().
|
protected |
Definition at line 194 of file G4PhantomParameterisation.hh.
Referenced by CheckVoxelsFillContainer(), G4PhantomParameterisation(), G4PartialPhantomParameterisation::GetReplicaNo(), and GetReplicaNo().