|
Geant4-11
|
#include <G4SmartVoxelHeader.hh>
Public Member Functions | |
| G4bool | AllSlicesEqual () const |
| G4SmartVoxelHeader (G4LogicalVolume *pVolume, const G4VoxelLimits &pLimits, const G4VolumeNosVector *pCandidates, G4int pSlice=0) | |
| G4SmartVoxelHeader (G4LogicalVolume *pVolume, G4int pSlice=0) | |
| EAxis | GetAxis () const |
| G4int | GetMaxEquivalentSliceNo () const |
| G4double | GetMaxExtent () const |
| G4int | GetMinEquivalentSliceNo () const |
| G4double | GetMinExtent () const |
| size_t | GetNoSlices () const |
| EAxis | GetParamAxis () const |
| G4SmartVoxelProxy * | GetSlice (G4int n) const |
| G4bool | operator== (const G4SmartVoxelHeader &pHead) const |
| void | SetMaxEquivalentSliceNo (G4int pMax) |
| void | SetMinEquivalentSliceNo (G4int pMin) |
| ~G4SmartVoxelHeader () | |
Protected Member Functions | |
| void | BuildConsumedNodes (G4int nReplicas) |
| void | BuildEquivalentSliceNos () |
| G4ProxyVector * | BuildNodes (G4LogicalVolume *pVolume, G4VoxelLimits pLimits, const G4VolumeNosVector *pCandidates, EAxis pAxis) |
| void | BuildReplicaVoxels (G4LogicalVolume *pVolume) |
| void | BuildVoxels (G4LogicalVolume *pVolume) |
| void | BuildVoxelsWithinLimits (G4LogicalVolume *pVolume, G4VoxelLimits pLimits, const G4VolumeNosVector *pCandidates) |
| G4double | CalculateQuality (G4ProxyVector *pSlice) |
| void | CollectEquivalentHeaders () |
| void | CollectEquivalentNodes () |
| void | RefineNodes (G4LogicalVolume *pVolume, G4VoxelLimits pLimits) |
Protected Attributes | |
| EAxis | faxis |
| G4int | fmaxEquivalent |
| G4double | fmaxExtent |
| G4int | fminEquivalent |
| G4double | fminExtent |
| EAxis | fparamAxis |
| G4ProxyVector | fslices |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const G4SmartVoxelHeader &h) |
Definition at line 74 of file G4SmartVoxelHeader.hh.
| G4SmartVoxelHeader::G4SmartVoxelHeader | ( | G4LogicalVolume * | pVolume, |
| G4int | pSlice = 0 |
||
| ) |
Definition at line 59 of file G4SmartVoxelHeader.cc.
References BuildReplicaVoxels(), BuildVoxels(), G4LogicalVolume::GetDaughter(), G4LogicalVolume::GetNoDaughters(), and G4VPhysicalVolume::IsReplicated().
Referenced by RefineNodes().
| G4SmartVoxelHeader::~G4SmartVoxelHeader | ( | ) |
Definition at line 119 of file G4SmartVoxelHeader.cc.
References fslices.
| G4SmartVoxelHeader::G4SmartVoxelHeader | ( | G4LogicalVolume * | pVolume, |
| const G4VoxelLimits & | pLimits, | ||
| const G4VolumeNosVector * | pCandidates, | ||
| G4int | pSlice = 0 |
||
| ) |
Definition at line 92 of file G4SmartVoxelHeader.cc.
References BuildVoxelsWithinLimits(), G4cout, and G4endl.
| G4bool G4SmartVoxelHeader::AllSlicesEqual | ( | ) | const |
Definition at line 1272 of file G4SmartVoxelHeader.cc.
References fslices.
|
protected |
Definition at line 387 of file G4SmartVoxelHeader.cc.
References FatalException, fslices, and G4Exception().
Referenced by BuildReplicaVoxels().
|
protected |
Definition at line 574 of file G4SmartVoxelHeader.cc.
References fslices, G4SmartVoxelNode::SetMaxEquivalentSliceNo(), and G4SmartVoxelNode::SetMinEquivalentSliceNo().
Referenced by BuildReplicaVoxels(), and BuildVoxelsWithinLimits().
|
protected |
Definition at line 741 of file G4SmartVoxelHeader.cc.
References G4VSolid::CalculateExtent(), G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), FatalException, G4cout, G4endl, G4Exception(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMinExtent(), G4LogicalVolume::GetName(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSmartless(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::GetTranslation(), G4VoxelLimits::IsLimited(), G4VPhysicalVolume::IsReplicated(), kInfinity, and kMaxVoxelNodes.
Referenced by BuildReplicaVoxels(), and BuildVoxelsWithinLimits().
|
protected |
Definition at line 259 of file G4SmartVoxelHeader.cc.
References BuildConsumedNodes(), BuildEquivalentSliceNos(), BuildNodes(), BuildVoxelsWithinLimits(), G4VSolid::CalculateExtent(), CollectEquivalentNodes(), emax, FatalException, faxis, fmaxExtent, fminExtent, fparamAxis, fslices, G4endl, G4Exception(), G4LogicalVolume::GetDaughter(), G4LogicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetReplicationData(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::IsReplicated(), kInfinity, kPhi, kRho, kUndefined, kXAxis, kYAxis, and kZAxis.
Referenced by G4SmartVoxelHeader().
|
protected |
Definition at line 239 of file G4SmartVoxelHeader.cc.
References BuildVoxelsWithinLimits(), and G4LogicalVolume::GetNoDaughters().
Referenced by G4SmartVoxelHeader().
|
protected |
Definition at line 435 of file G4SmartVoxelHeader.cc.
References BuildEquivalentSliceNos(), BuildNodes(), G4VSolid::CalculateExtent(), CalculateQuality(), CollectEquivalentNodes(), FatalException, faxis, fmaxExtent, fminExtent, fslices, G4cout, G4endl, G4Exception(), G4LogicalVolume::GetName(), G4LogicalVolume::GetSolid(), G4VoxelLimits::IsLimited(), kInfinity, kXAxis, kYAxis, kZAxis, and RefineNodes().
Referenced by BuildReplicaVoxels(), BuildVoxels(), and G4SmartVoxelHeader().
|
protected |
Definition at line 1064 of file G4SmartVoxelHeader.cc.
References FatalException, G4cout, G4endl, G4Exception(), G4SmartVoxelNode::GetNoContained(), and kInfinity.
Referenced by BuildVoxelsWithinLimits().
|
protected |
Definition at line 668 of file G4SmartVoxelHeader.cc.
References fslices, G4cout, G4endl, G4SmartVoxelProxy::GetHeader(), GetMaxEquivalentSliceNo(), and G4SmartVoxelProxy::IsHeader().
|
protected |
Definition at line 621 of file G4SmartVoxelHeader.cc.
References fslices, G4cout, G4endl, G4SmartVoxelNode::GetMaxEquivalentSliceNo(), and G4SmartVoxelProxy::GetNode().
Referenced by BuildReplicaVoxels(), and BuildVoxelsWithinLimits().
| EAxis G4SmartVoxelHeader::GetAxis | ( | ) | const |
| G4int G4SmartVoxelHeader::GetMaxEquivalentSliceNo | ( | ) | const |
| G4double G4SmartVoxelHeader::GetMaxExtent | ( | ) | const |
Referenced by G4DrawVoxels::ComputeVoxelPolyhedra(), operator==(), and G4VoxelSafety::SafetyForVoxelHeader().
| G4int G4SmartVoxelHeader::GetMinEquivalentSliceNo | ( | ) | const |
Referenced by G4VoxelSafety::SafetyForVoxelHeader().
| G4double G4SmartVoxelHeader::GetMinExtent | ( | ) | const |
Referenced by G4ParameterisedNavigation::ComputeSafety(), G4DrawVoxels::ComputeVoxelPolyhedra(), G4VoxelNavigation::ComputeVoxelSafety(), G4ParameterisedNavigation::ComputeVoxelSafety(), G4VoxelNavigation::LocateNextVoxel(), G4ParameterisedNavigation::LocateNextVoxel(), operator==(), and G4VoxelSafety::SafetyForVoxelHeader().
| size_t G4SmartVoxelHeader::GetNoSlices | ( | ) | const |
| EAxis G4SmartVoxelHeader::GetParamAxis | ( | ) | const |
| G4SmartVoxelProxy * G4SmartVoxelHeader::GetSlice | ( | G4int | n | ) | const |
| G4bool G4SmartVoxelHeader::operator== | ( | const G4SmartVoxelHeader & | pHead | ) | const |
Definition at line 175 of file G4SmartVoxelHeader.cc.
References GetAxis(), G4SmartVoxelProxy::GetHeader(), GetMaxExtent(), GetMinExtent(), G4SmartVoxelProxy::GetNode(), GetNoSlices(), GetSlice(), G4SmartVoxelProxy::IsHeader(), and G4SmartVoxelProxy::IsNode().
|
protected |
Definition at line 1130 of file G4SmartVoxelHeader.cc.
References G4VoxelLimits::AddLimit(), FatalException, faxis, fmaxExtent, fminExtent, fslices, G4cout, G4endl, G4Exception(), G4SmartVoxelHeader(), G4SmartVoxelNode::GetMaxEquivalentSliceNo(), G4SmartVoxelNode::GetMinEquivalentSliceNo(), G4SmartVoxelNode::GetNoContained(), G4SmartVoxelProxy::GetNode(), G4SmartVoxelNode::GetVolume(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), kMinVoxelVolumesLevel2, kMinVoxelVolumesLevel3, SetMaxEquivalentSliceNo(), and SetMinEquivalentSliceNo().
Referenced by BuildVoxelsWithinLimits().
| void G4SmartVoxelHeader::SetMaxEquivalentSliceNo | ( | G4int | pMax | ) |
Referenced by RefineNodes().
| void G4SmartVoxelHeader::SetMinEquivalentSliceNo | ( | G4int | pMin | ) |
Referenced by RefineNodes().
|
friend |
Definition at line 1295 of file G4SmartVoxelHeader.cc.
|
protected |
Definition at line 187 of file G4SmartVoxelHeader.hh.
Referenced by BuildReplicaVoxels(), BuildVoxelsWithinLimits(), and RefineNodes().
|
protected |
Definition at line 184 of file G4SmartVoxelHeader.hh.
|
protected |
Definition at line 190 of file G4SmartVoxelHeader.hh.
Referenced by BuildReplicaVoxels(), BuildVoxelsWithinLimits(), and RefineNodes().
|
protected |
Definition at line 183 of file G4SmartVoxelHeader.hh.
|
protected |
Definition at line 191 of file G4SmartVoxelHeader.hh.
Referenced by BuildReplicaVoxels(), BuildVoxelsWithinLimits(), and RefineNodes().
|
protected |
Definition at line 187 of file G4SmartVoxelHeader.hh.
Referenced by BuildReplicaVoxels().
|
protected |
Definition at line 194 of file G4SmartVoxelHeader.hh.
Referenced by AllSlicesEqual(), BuildConsumedNodes(), BuildEquivalentSliceNos(), BuildReplicaVoxels(), BuildVoxelsWithinLimits(), CollectEquivalentHeaders(), CollectEquivalentNodes(), RefineNodes(), and ~G4SmartVoxelHeader().