32 #include <boost/python.hpp>
42 using namespace boost::python;
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 AddRootLogicalVolume(G4LogicalVolume *lv)
G4bool IsModified() const
G4FastSimulationManager * GetFastSimulationManager() const
void SetUserLimits(G4UserLimits *ul)
const G4String & GetName() const
void SetWorld(G4VPhysicalVolume *wp)
void SetProductionCuts(G4ProductionCuts *cut)
void RegisterMaterialCouplePair(G4Material *mat, G4MaterialCutsCouple *couple)
G4UserLimits * GetUserLimits() const
void RemoveRootLogicalVolume(G4LogicalVolume *lv, G4bool scan=true)
size_t GetNumberOfMaterials() const
void SetUserInformation(G4VUserRegionInformation *ui)
G4bool BelongsTo(G4VPhysicalVolume *thePhys) const
G4ProductionCuts * GetProductionCuts() const
G4VPhysicalVolume * GetWorldPhysical() const
void UpdateMaterialList()
void ScanVolumeTree(G4LogicalVolume *lv, G4bool region)
void SetFastSimulationManager(G4FastSimulationManager *fsm)
G4Region * GetParentRegion(G4bool &unique) const
G4MaterialCutsCouple * FindCouple(G4Material *mat)
void ClearFastSimulationManager()
void RegionModified(G4bool flag)
void SetName(const G4String &name)
G4VUserRegionInformation * GetUserInformation() const
size_t GetNumberOfRootVolumes() const