Geant4
10.00.p03
|
#include <G4tgrVolume.hh>
Public Member Functions | |
G4tgrVolume () | |
G4tgrVolume (const std::vector< G4String > &wl) | |
G4tgrVolume (const G4tgrVolume &vol) | |
virtual | ~G4tgrVolume () |
virtual G4tgrPlace * | AddPlace (const std::vector< G4String > &wl) |
G4tgrPlaceDivRep * | AddPlaceReplica (const std::vector< G4String > &wl) |
G4tgrPlaceParameterisation * | AddPlaceParam (const std::vector< G4String > &wl) |
void | AddVisibility (const std::vector< G4String > &wl) |
void | AddRGBColour (const std::vector< G4String > &wl) |
void | AddCheckOverlaps (const std::vector< G4String > &wl) |
const G4String & | GetName () const |
void | SetName (const G4String &name) |
const G4String & | GetType () const |
G4tgrSolid * | GetSolid () const |
const G4String & | GetMaterialName () const |
const std::vector< G4tgrPlace * > | GetPlacements () const |
G4bool | GetVisibility () const |
G4double * | GetColour () const |
G4double * | GetRGBColour () const |
G4bool | GetCheckOverlaps () const |
virtual G4tgrVolume * | GetVolume (G4int ii) const |
Protected Attributes | |
G4String | theName |
G4String | theType |
G4String | theMaterialName |
G4tgrSolid * | theSolid |
std::vector< G4tgrPlace * > | thePlacements |
G4bool | theVisibility |
G4double * | theRGBColour |
G4bool | theCheckOverlaps |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4tgrVolume &obj) |
Definition at line 60 of file G4tgrVolume.hh.
G4tgrVolume::G4tgrVolume | ( | ) |
Definition at line 49 of file G4tgrVolume.cc.
G4tgrVolume::G4tgrVolume | ( | const std::vector< G4String > & | wl | ) |
Definition at line 65 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 113 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 58 of file G4tgrVolume.cc.
References theRGBColour.
void G4tgrVolume::AddCheckOverlaps | ( | const std::vector< G4String > & | wl | ) |
------— Set check overlaps
Definition at line 271 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theCheckOverlaps, and WLSIZE_GE.
|
virtual |
Reimplemented in G4tgrVolumeAssembly.
Definition at line 138 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 218 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 180 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 253 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetDouble(), theRGBColour, and WLSIZE_GE.
void G4tgrVolume::AddVisibility | ( | const std::vector< G4String > & | wl | ) |
Definition at line 242 of file G4tgrVolume.cc.
References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theVisibility, and WLSIZE_EQ.
|
inline |
Definition at line 100 of file G4tgrVolume.hh.
References theCheckOverlaps.
Referenced by G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().
|
inline |
Definition at line 97 of file G4tgrVolume.hh.
References theRGBColour.
Referenced by G4tgbVolume::GetColour().
|
inline |
Definition at line 93 of file G4tgrVolume.hh.
References theMaterialName.
Referenced by G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().
|
inline |
Definition at line 89 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 95 of file G4tgrVolume.hh.
References thePlacements.
Referenced by G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inline |
Definition at line 98 of file G4tgrVolume.hh.
References theRGBColour.
Referenced by G4tgrVolume().
|
inline |
Definition at line 92 of file G4tgrVolume.hh.
References theSolid.
Referenced by G4tgbVolume::ConstructG4Volumes(), G4tgrSolidBoolean::G4tgrSolidBoolean(), and G4tgrVolume().
|
inline |
Definition at line 91 of file G4tgrVolume.hh.
References theType.
Referenced by G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), G4tgrLineProcessor::FindVolume(), G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().
|
inline |
Definition at line 96 of file G4tgrVolume.hh.
References theVisibility.
Referenced by G4tgrVolume(), and G4tgbVolume::GetVisibility().
|
virtual |
Definition at line 127 of file G4tgrVolume.cc.
References G4UIcommand::ConvertToString(), FatalException, and G4Exception().
|
inline |
Definition at line 90 of file G4tgrVolume.hh.
|
friend |
Definition at line 283 of file G4tgrVolume.cc.
|
protected |
Definition at line 121 of file G4tgrVolume.hh.
Referenced by AddCheckOverlaps(), G4tgrVolume(), GetCheckOverlaps(), and operator<<().
|
protected |
Definition at line 112 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetMaterialName(), and operator<<().
|
protected |
Definition at line 108 of file G4tgrVolume.hh.
Referenced by G4tgrVolumeAssembly::AddPlace(), AddPlace(), AddPlaceParam(), AddPlaceReplica(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetName(), operator<<(), and SetName().
|
protected |
Definition at line 116 of file G4tgrVolume.hh.
Referenced by G4tgrVolumeAssembly::AddPlace(), AddPlace(), AddPlaceParam(), AddPlaceReplica(), G4tgrVolume(), GetPlacements(), and operator<<().
|
protected |
Definition at line 120 of file G4tgrVolume.hh.
Referenced by AddRGBColour(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetColour(), GetRGBColour(), operator<<(), and ~G4tgrVolume().
|
protected |
Definition at line 114 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), and GetSolid().
|
protected |
Definition at line 110 of file G4tgrVolume.hh.
Referenced by G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetType(), and operator<<().
|
protected |
Definition at line 119 of file G4tgrVolume.hh.
Referenced by AddVisibility(), G4tgrVolume(), G4tgrVolumeAssembly::G4tgrVolumeAssembly(), G4tgrVolumeDivision::G4tgrVolumeDivision(), GetVisibility(), and operator<<().