32 #include <boost/python.hpp>
49 class_<G4Region, G4Region*, boost::noncopyable>
50 (
"G4Region",
"region class", no_init)
52 .def(init<const G4String&>())
58 return_value_policy<return_by_value>())
63 return_internal_reference<>())
71 return_internal_reference<>())
72 #if G4VERSION_NUMBER >= 710
75 return_internal_reference<>())
80 return_value_policy<reference_existing_object>())
81 #if G4VERSION_NUMBER >= 800
84 return_internal_reference<>())
87 return_internal_reference<>())
91 return_value_policy<reference_existing_object>())
void RegisterMaterialCouplePair(G4Material *mat, G4MaterialCutsCouple *couple)
void SetUserInformation(G4VUserRegionInformation *ui)
G4ProductionCuts * GetProductionCuts() const
const G4String & GetName() const
void AddRootLogicalVolume(G4LogicalVolume *lv)
G4bool IsModified() const
G4VUserRegionInformation * GetUserInformation() const
void RegionModified(G4bool flag)
void SetFastSimulationManager(G4FastSimulationManager *fsm)
G4VPhysicalVolume * GetWorldPhysical() const
void ScanVolumeTree(G4LogicalVolume *lv, G4bool region)
void SetName(const G4String &name)
void ClearFastSimulationManager()
G4MaterialCutsCouple * FindCouple(G4Material *mat)
G4bool BelongsTo(G4VPhysicalVolume *thePhys) const
void SetWorld(G4VPhysicalVolume *wp)
G4Region * GetParentRegion(G4bool &unique) const
void SetProductionCuts(G4ProductionCuts *cut)
void SetUserLimits(G4UserLimits *ul)
void UpdateMaterialList()
size_t GetNumberOfMaterials() const
size_t GetNumberOfRootVolumes() const
void RemoveRootLogicalVolume(G4LogicalVolume *lv, G4bool scan=true)
G4FastSimulationManager * GetFastSimulationManager() const
G4UserLimits * GetUserLimits() const