Geant4-11
|
#include <G4tgrVolumeDivision.hh>
Public Member Functions | |
void | AddCheckOverlaps (const std::vector< G4String > &wl) |
virtual G4tgrPlace * | AddPlace (const std::vector< G4String > &wl) |
G4tgrPlaceParameterisation * | AddPlaceParam (const std::vector< G4String > &wl) |
G4tgrPlaceDivRep * | AddPlaceReplica (const std::vector< G4String > &wl) |
void | AddRGBColour (const std::vector< G4String > &wl) |
void | AddVisibility (const std::vector< G4String > &wl) |
G4tgrVolumeDivision (const std::vector< G4String > &wl) | |
G4bool | GetCheckOverlaps () const |
G4double * | GetColour () const |
const G4String & | GetMaterialName () const |
const G4String & | GetName () const |
G4tgrPlaceDivRep * | GetPlaceDivision () |
const std::vector< G4tgrPlace * > | GetPlacements () const |
G4double * | GetRGBColour () const |
G4tgrSolid * | GetSolid () const |
const G4String & | GetType () const |
G4bool | GetVisibility () const |
virtual G4tgrVolume * | GetVolume (G4int ii) const |
void | SetName (const G4String &name) |
~G4tgrVolumeDivision () | |
Protected Attributes | |
G4bool | theCheckOverlaps = false |
G4String | theMaterialName = "" |
G4String | theName = "" |
std::vector< G4tgrPlace * > | thePlacements |
G4double * | theRGBColour = nullptr |
G4tgrSolid * | theSolid = nullptr |
G4String | theType = "" |
G4bool | theVisibility = false |
Private Attributes | |
G4tgrPlaceDivRep * | thePlaceDiv = nullptr |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4tgrVolumeDivision &obj) |
Definition at line 51 of file G4tgrVolumeDivision.hh.
G4tgrVolumeDivision::G4tgrVolumeDivision | ( | const std::vector< G4String > & | wl | ) |
Definition at line 47 of file G4tgrVolumeDivision.cc.
References G4tgrPlaceDivRep::BuildAxis(), G4tgrUtils::CheckWLsize(), DivByNdiv, DivByNdivAndWidth, DivByWidth, FatalException, G4tgrVolumeMgr::FindVolume(), G4cout, G4endl, G4Exception(), G4tgrUtils::GetDouble(), G4tgrVolumeMgr::GetInstance(), G4tgrUtils::GetInt(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), mm, G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlaceDivRep::SetAxis(), G4tgrPlaceDivRep::SetDivType(), G4tgrPlaceDivRep::SetNDiv(), G4tgrPlaceDivRep::SetOffset(), G4tgrPlaceDivRep::SetParentName(), G4tgrPlace::SetType(), G4tgrPlace::SetVolume(), G4tgrPlaceDivRep::SetWidth(), G4tgrVolume::theMaterialName, G4tgrVolume::theName, thePlaceDiv, G4tgrVolume::theRGBColour, G4tgrVolume::theSolid, G4tgrVolume::theType, G4tgrVolume::theVisibility, WLSIZE_GE, and WLSIZE_LE.
G4tgrVolumeDivision::~G4tgrVolumeDivision | ( | ) |
Definition at line 42 of file G4tgrVolumeDivision.cc.
|
inherited |
------— Set check overlaps
Definition at line 251 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), G4tgrVolume::theCheckOverlaps, and WLSIZE_GE.
|
virtualinherited |
Reimplemented in G4tgrVolumeAssembly.
Definition at line 126 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), FatalErrorInArgument, G4cout, G4endl, G4Exception(), G4tgrPlace::GetCopyNo(), G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrPlace::GetType(), G4tgrMessenger::GetVerboseLevel(), G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetVolume(), G4tgrVolume::theName, G4tgrVolume::thePlacements, and WLSIZE_EQ.
Referenced by G4tgrLineProcessor::ProcessLine().
|
inherited |
Definition at line 201 of file G4tgrVolume.cc.
References G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrMessenger::GetVerboseLevel(), G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetVolume(), G4tgrVolume::theName, and G4tgrVolume::thePlacements.
Referenced by G4tgrLineProcessor::ProcessLine().
|
inherited |
Definition at line 164 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4Exception(), G4tgrUtils::GetDouble(), G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrMessenger::GetVerboseLevel(), JustWarning, G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetType(), G4tgrPlace::SetVolume(), G4tgrVolume::theName, G4tgrVolume::thePlacements, WLSIZE_GE, and WLSIZE_LE.
Referenced by G4tgrLineProcessor::ProcessLine().
|
inherited |
------— Set transparency
Definition at line 234 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetDouble(), G4tgrVolume::theRGBColour, and WLSIZE_GE.
|
inherited |
Definition at line 224 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), G4tgrVolume::theVisibility, and WLSIZE_EQ.
|
inlineinherited |
Definition at line 94 of file G4tgrVolume.hh.
References G4tgrVolume::theCheckOverlaps.
Referenced by G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume::G4tgrVolume().
|
inlineinherited |
Definition at line 91 of file G4tgrVolume.hh.
References G4tgrVolume::theRGBColour.
Referenced by G4tgbVolume::GetColour().
|
inlineinherited |
Definition at line 87 of file G4tgrVolume.hh.
References G4tgrVolume::theMaterialName.
Referenced by G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume::G4tgrVolume().
|
inlineinherited |
Definition at line 83 of file G4tgrVolume.hh.
References G4tgrVolume::theName.
Referenced by G4tgbDetectorConstruction::Construct(), G4tgbDetectorBuilder::ConstructDetector(), G4tgbVolume::ConstructG4Volumes(), G4tgrVolumeMgr::DumpSummary(), G4tgrVolumeMgr::DumpVolumeLeaf(), G4tgrVolume::G4tgrVolume(), G4tgbVolume::GetName(), G4tgrVolumeMgr::GetTopVolume(), G4tgrVolumeMgr::RegisterMe(), and G4tgrVolumeMgr::UnRegisterMe().
|
inline |
Definition at line 58 of file G4tgrVolumeDivision.hh.
References thePlaceDiv.
Referenced by G4tgbVolume::ConstructG4PhysVol().
|
inlineinherited |
Definition at line 89 of file G4tgrVolume.hh.
References G4tgrVolume::thePlacements.
Referenced by G4tgrVolume::G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inlineinherited |
Definition at line 92 of file G4tgrVolume.hh.
References G4tgrVolume::theRGBColour.
Referenced by G4tgrVolume::G4tgrVolume().
|
inlineinherited |
Definition at line 86 of file G4tgrVolume.hh.
References G4tgrVolume::theSolid.
Referenced by G4tgbVolume::ConstructG4Volumes(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), and G4tgrVolume::G4tgrVolume().
|
inlineinherited |
Definition at line 85 of file G4tgrVolume.hh.
References G4tgrVolume::theType.
Referenced by G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), G4tgrLineProcessor::FindVolume(), G4tgrVolume::G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inlineinherited |
Definition at line 90 of file G4tgrVolume.hh.
References G4tgrVolume::theVisibility.
Referenced by G4tgrVolume::G4tgrVolume(), and G4tgbVolume::GetVisibility().
|
virtualinherited |
Definition at line 116 of file G4tgrVolume.cc.
References G4UIcommand::ConvertToString(), FatalException, and G4Exception().
|
inlineinherited |
Definition at line 84 of file G4tgrVolume.hh.
References G4InuclParticleNames::name(), and G4tgrVolume::theName.
|
friend |
Definition at line 149 of file G4tgrVolumeDivision.cc.
|
protectedinherited |
Definition at line 115 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::AddCheckOverlaps(), G4tgrVolume::G4tgrVolume(), and G4tgrVolume::GetCheckOverlaps().
|
protectedinherited |
Definition at line 106 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::G4tgrVolume(), G4tgrVolumeDivision(), and G4tgrVolume::GetMaterialName().
|
protectedinherited |
Definition at line 102 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::AddPlace(), G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision(), G4tgrVolume::GetName(), and G4tgrVolume::SetName().
|
private |
Definition at line 65 of file G4tgrVolumeDivision.hh.
Referenced by G4tgrVolumeDivision(), and GetPlaceDivision().
|
protectedinherited |
Definition at line 110 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::AddPlace(), G4tgrVolumeAssembly::AddPlace(), G4tgrVolume::AddPlaceParam(), G4tgrVolume::AddPlaceReplica(), G4tgrVolume::G4tgrVolume(), and G4tgrVolume::GetPlacements().
|
protectedinherited |
Definition at line 114 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::AddRGBColour(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision(), G4tgrVolume::GetColour(), G4tgrVolume::GetRGBColour(), and G4tgrVolume::~G4tgrVolume().
|
protectedinherited |
Definition at line 108 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision(), and G4tgrVolume::GetSolid().
|
protectedinherited |
Definition at line 104 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision(), and G4tgrVolume::GetType().
|
protectedinherited |
Definition at line 113 of file G4tgrVolume.hh.
Referenced by G4tgrVolume::AddVisibility(), G4tgrVolume::G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision(), and G4tgrVolume::GetVisibility().