31#include <boost/python.hpp>
41using namespace boost::python;
48 class_<G4Region, G4Region*, boost::noncopyable>
49 (
"G4Region",
"region class", no_init)
51 .def(init<const G4String&>())
57 return_value_policy<return_by_value>())
62 return_internal_reference<>())
70 return_internal_reference<>())
71#if G4VERSION_NUMBER >= 710
74 return_internal_reference<>())
79 return_value_policy<reference_existing_object>())
80#if G4VERSION_NUMBER >= 800
83 return_internal_reference<>())
86 return_internal_reference<>())
90 return_value_policy<reference_existing_object>())
G4bool IsModified() const
G4bool BelongsTo(G4VPhysicalVolume *thePhys) const
void ScanVolumeTree(G4LogicalVolume *lv, G4bool region)
G4Region * GetParentRegion(G4bool &unique) const
G4FastSimulationManager * GetFastSimulationManager() const
G4VUserRegionInformation * GetUserInformation() const
void SetWorld(G4VPhysicalVolume *wp)
G4ProductionCuts * GetProductionCuts() const
void RemoveRootLogicalVolume(G4LogicalVolume *lv, G4bool scan=true)
G4MaterialCutsCouple * FindCouple(G4Material *mat)
void RegionModified(G4bool flag)
G4VPhysicalVolume * GetWorldPhysical() const
void SetProductionCuts(G4ProductionCuts *cut)
G4UserLimits * GetUserLimits() const
const G4String & GetName() const
void UpdateMaterialList()
void SetFastSimulationManager(G4FastSimulationManager *fsm)
void SetUserInformation(G4VUserRegionInformation *ui)
void SetName(const G4String &name)
size_t GetNumberOfRootVolumes() const
size_t GetNumberOfMaterials() const
void ClearFastSimulationManager()
void RegisterMaterialCouplePair(G4Material *mat, G4MaterialCutsCouple *couple)
void SetUserLimits(G4UserLimits *ul)
void AddRootLogicalVolume(G4LogicalVolume *lv, G4bool search=true)