Geant4
10.03
|
#include <G4Box.hh>
Protected Types | |
enum | ESide { kUndefined, kPX, kMX, kPY, kMY, kPZ, kMZ } |
Private Member Functions | |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Private Attributes | |
G4double | fDx |
G4double | fDy |
G4double | fDz |
G4double | delta |
Additional Inherited Members | |
Protected Member Functions inherited from G4CSGSolid | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
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 |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
|
protected |
Definition at line 63 of file G4Box.cc.
References delta, FatalException, G4endl, G4Exception(), G4VSolid::GetName(), and G4VSolid::kCarTolerance.
Referenced by Clone().
|
private |
|
virtual |
Implements G4VSolid.
Definition at line 233 of file G4Box.cc.
References G4BoundingEnvelope::CalculateExtent(), and Extent().
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 199 of file G4Box.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 883 of file G4Box.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and StandaloneVisAction::Draw().
|
virtual |
Implements G4VSolid.
Definition at line 873 of file G4Box.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 748 of file G4Box.cc.
References G4VSolid::DumpInfo(), fDx, fDy, fDz, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kOutside, and mm.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 210 of file G4Box.cc.
References G4VSolid::DumpInfo(), fDx, fDy, fDz, G4Exception(), G4VSolid::GetName(), and JustWarning.
Referenced by CalculateExtent().
|
virtual |
|
virtual |
|
virtual |
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), G4GDMLWriteSolids::BoxWrite(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), ExExChProcessChanneling::ComputePositionInTheCrystal(), G4ParameterisationBoxX::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), export_G4Box(), G4ParameterisationBoxX::G4ParameterisationBoxX(), B1PrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationBoxX::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4STRead::Read(), and CexmcSetup::ReadCalorimeterGeometryData().
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), G4GDMLWriteSolids::BoxWrite(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), ExExChProcessChanneling::ComputePositionInTheCrystal(), G4ParameterisationBoxY::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), export_G4Box(), G4ParameterisationBoxY::G4ParameterisationBoxY(), G4ParameterisationBoxY::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), G4STRead::Read(), and CexmcSetup::ReadCalorimeterGeometryData().
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), G4GDMLWriteParamvol::Box_dimensionsWrite(), G4GDMLWriteSolids::BoxWrite(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationBoxX::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), ExExChProcessChanneling::ComputePositionInTheCrystal(), G4ParameterisationBoxZ::ComputeTransformation(), GB06ParallelWorldForSlices::Construct(), DicomRegularDetectorConstruction::ConstructPhantom(), export_G4Box(), G4ParameterisationBoxZ::G4ParameterisationBoxZ(), B2PrimaryGeneratorAction::GeneratePrimaries(), B4PrimaryGeneratorAction::GeneratePrimaries(), B1PrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationBoxZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4STRead::Read(), and CexmcSetup::ReadCalorimeterGeometryData().
|
virtual |
void G4Box::SetXHalfLength | ( | G4double | dx | ) |
Definition at line 134 of file G4Box.cc.
References FatalException, G4CSGSolid::fCubicVolume, fDx, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4endl, G4Exception(), G4VSolid::GetName(), and G4VSolid::kCarTolerance.
Referenced by DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), export_G4Box(), G4STRead::Read(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
void G4Box::SetYHalfLength | ( | G4double | dy | ) |
Definition at line 154 of file G4Box.cc.
References FatalException, G4CSGSolid::fCubicVolume, fDy, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4endl, G4Exception(), G4VSolid::GetName(), and G4VSolid::kCarTolerance.
Referenced by DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), export_G4Box(), G4STRead::Read(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
void G4Box::SetZHalfLength | ( | G4double | dz | ) |
Definition at line 174 of file G4Box.cc.
References FatalException, G4CSGSolid::fCubicVolume, fDz, G4CSGSolid::fRebuildPolyhedron, G4CSGSolid::fSurfaceArea, G4endl, G4Exception(), G4VSolid::GetName(), and G4VSolid::kCarTolerance.
Referenced by DetectorConstruction::ChangeGeometry(), VoxelParam::ComputeDimensions(), ExN02ChamberParameterisation::ComputeDimensions(), ExP01ChamberParameterisation::ComputeDimensions(), G02ChamberParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationBoxX::ComputeDimensions(), DicomNestedPhantomParameterisation::ComputeDimensions(), RE02NestedPhantomParameterisation::ComputeDimensions(), G4ParameterisationBoxY::ComputeDimensions(), G4ParameterisationBoxZ::ComputeDimensions(), export_G4Box(), G4STRead::Read(), GB03DetectorConstruction::SetNumberOfLayers(), RE06DetectorConstruction::SetNumberOfLayers(), and HadrontherapyDetectorROGeometry::UpdateROGeometry().
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 801 of file G4Box.cc.
References fDx, fDy, fDz, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 285 of file G4Box.cc.
References ApproxSurfaceNormal(), delta, fDx, fDy, fDz, G4Exception(), and JustWarning.
|
private |
Definition at line 147 of file G4Box.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Box(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 146 of file G4Box.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), Extent(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetXHalfLength(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 146 of file G4Box.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), Extent(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetYHalfLength(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 146 of file G4Box.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), Extent(), GetExtent(), GetPointOnSurface(), Inside(), operator=(), SetZHalfLength(), StreamInfo(), and SurfaceNormal().