Geant4-11
|
#include <G4tgrVolume.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) |
G4tgrVolume () | |
G4tgrVolume (const G4tgrVolume &vol) | |
G4tgrVolume (const std::vector< G4String > &wl) | |
G4bool | GetCheckOverlaps () const |
G4double * | GetColour () const |
const G4String & | GetMaterialName () const |
const G4String & | GetName () const |
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) |
virtual | ~G4tgrVolume () |
Protected Attributes | |
G4bool | theCheckOverlaps = false |
G4String | theMaterialName = "" |
G4String | theName = "" |
std::vector< G4tgrPlace * > | thePlacements |
G4double * | theRGBColour = nullptr |
G4tgrSolid * | theSolid = nullptr |
G4String | theType = "" |
G4bool | theVisibility = false |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4tgrVolume &obj) |
Definition at line 54 of file G4tgrVolume.hh.
G4tgrVolume::G4tgrVolume | ( | ) |
Definition at line 44 of file G4tgrVolume.cc.
G4tgrVolume::G4tgrVolume | ( | const std::vector< G4String > & | wl | ) |
Definition at line 55 of file G4tgrVolume.cc.
References G4tgrVolumeMgr::CreateSolid(), G4tgrVolumeMgr::FindSolid(), G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), theCheckOverlaps, theMaterialName, theName, theRGBColour, theSolid, theType, and theVisibility.
G4tgrVolume::G4tgrVolume | ( | const G4tgrVolume & | vol | ) |
Definition at line 103 of file G4tgrVolume.cc.
References GetCheckOverlaps(), GetMaterialName(), GetName(), GetPlacements(), GetRGBColour(), GetSolid(), GetType(), GetVisibility(), theCheckOverlaps, theMaterialName, theName, thePlacements, theRGBColour, theSolid, theType, and theVisibility.
|
virtual |
Definition at line 49 of file G4tgrVolume.cc.
References theRGBColour.
void G4tgrVolume::AddCheckOverlaps | ( | const std::vector< G4String > & | wl | ) |
------— Set check overlaps
Definition at line 251 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theCheckOverlaps, and WLSIZE_GE.
|
virtual |
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(), theName, thePlacements, and WLSIZE_EQ.
Referenced by G4tgrLineProcessor::ProcessLine().
G4tgrPlaceParameterisation * G4tgrVolume::AddPlaceParam | ( | const std::vector< G4String > & | wl | ) |
Definition at line 201 of file G4tgrVolume.cc.
References G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrMessenger::GetVerboseLevel(), G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetVolume(), theName, and thePlacements.
Referenced by G4tgrLineProcessor::ProcessLine().
G4tgrPlaceDivRep * G4tgrVolume::AddPlaceReplica | ( | const std::vector< G4String > & | wl | ) |
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(), theName, thePlacements, WLSIZE_GE, and WLSIZE_LE.
Referenced by G4tgrLineProcessor::ProcessLine().
void G4tgrVolume::AddRGBColour | ( | const std::vector< G4String > & | wl | ) |
------— Set transparency
Definition at line 234 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetDouble(), theRGBColour, and WLSIZE_GE.
void G4tgrVolume::AddVisibility | ( | const std::vector< G4String > & | wl | ) |
Definition at line 224 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theVisibility, and WLSIZE_EQ.
|
inline |
Definition at line 94 of file G4tgrVolume.hh.
References theCheckOverlaps.
Referenced by G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().
|
inline |
Definition at line 91 of file G4tgrVolume.hh.
References theRGBColour.
Referenced by G4tgbVolume::GetColour().
|
inline |
Definition at line 87 of file G4tgrVolume.hh.
References theMaterialName.
Referenced by G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().
|
inline |
Definition at line 83 of file G4tgrVolume.hh.
References theName.
Referenced by G4tgbDetectorConstruction::Construct(), G4tgbDetectorBuilder::ConstructDetector(), G4tgbVolume::ConstructG4Volumes(), G4tgrVolumeMgr::DumpSummary(), G4tgrVolumeMgr::DumpVolumeLeaf(), G4tgrVolume(), G4tgbVolume::GetName(), G4tgrVolumeMgr::GetTopVolume(), G4tgrVolumeMgr::RegisterMe(), and G4tgrVolumeMgr::UnRegisterMe().
|
inline |
Definition at line 89 of file G4tgrVolume.hh.
References thePlacements.
Referenced by G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inline |
|
inline |
Definition at line 86 of file G4tgrVolume.hh.
References theSolid.
Referenced by G4tgbVolume::ConstructG4Volumes(), G4tgrSolidBoolean::G4tgrSolidBoolean(), G4tgrSolidMultiUnion::G4tgrSolidMultiUnion(), G4tgrSolidScaled::G4tgrSolidScaled(), and G4tgrVolume().
|
inline |
Definition at line 85 of file G4tgrVolume.hh.
References theType.
Referenced by G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), G4tgrLineProcessor::FindVolume(), G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inline |
Definition at line 90 of file G4tgrVolume.hh.
References theVisibility.
Referenced by G4tgrVolume(), and G4tgbVolume::GetVisibility().
|
virtual |
Definition at line 116 of file G4tgrVolume.cc.
References G4UIcommand::ConvertToString(), FatalException, and G4Exception().
|
inline |
|
friend |
Definition at line 261 of file G4tgrVolume.cc.
|
protected |
Definition at line 115 of file G4tgrVolume.hh.
Referenced by AddCheckOverlaps(), G4tgrVolume(), and GetCheckOverlaps().
|
protected |
Definition at line 106 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetMaterialName().
|
protected |
Definition at line 102 of file G4tgrVolume.hh.
Referenced by AddPlace(), G4tgrVolumeAssembly::AddPlace(), AddPlaceParam(), AddPlaceReplica(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetName(), and SetName().
|
protected |
Definition at line 110 of file G4tgrVolume.hh.
Referenced by AddPlace(), G4tgrVolumeAssembly::AddPlace(), AddPlaceParam(), AddPlaceReplica(), G4tgrVolume(), and GetPlacements().
|
protected |
Definition at line 114 of file G4tgrVolume.hh.
Referenced by AddRGBColour(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetColour(), GetRGBColour(), and ~G4tgrVolume().
|
protected |
Definition at line 108 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetSolid().
|
protected |
Definition at line 104 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetType().
|
protected |
Definition at line 113 of file G4tgrVolume.hh.
Referenced by AddVisibility(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetVisibility().