49 class_<G4Region, G4Region*, boost::noncopyable>
50 (
"G4Region",
"region class", no_init)
52 .def(init<const G4String&>())
54 .def(
"AddRootLogicalVolume", &G4Region::AddRootLogicalVolume)
55 .def(
"RemoveRootLogicalVolume", &G4Region::RemoveRootLogicalVolume)
56 .def(
"SetName", &G4Region::SetName)
57 .def(
"GetName", &G4Region::GetName,
58 return_value_policy<return_by_value>())
59 .def(
"RegionModified", &G4Region::RegionModified)
60 .def(
"IsModified", &G4Region::IsModified)
61 .def(
"SetProductionCuts", &G4Region::SetProductionCuts)
62 .def(
"GetProductionCuts", &G4Region::GetProductionCuts,
63 return_internal_reference<>())
64 .def(
"GetNumberOfMaterials", &G4Region::GetNumberOfMaterials)
65 .def(
"GetNumberOfRootVolumes", &G4Region::GetNumberOfRootVolumes)
66 .def(
"UpdateMaterialList", &G4Region::UpdateMaterialList)
67 .def(
"ClearMaterialList", &G4Region::ClearMaterialList)
68 .def(
"ScanVolumeTree", &G4Region::ScanVolumeTree)
69 .def(
"SetUserInformation", &G4Region::SetUserInformation)
70 .def(
"GetUserInformation", &G4Region::GetUserInformation,
71 return_internal_reference<>())
72 #if G4VERSION_NUMBER >= 710 73 .def(
"SetUserLimits", &G4Region::SetUserLimits)
74 .def(
"GetUserLimits", &G4Region::GetUserLimits,
75 return_internal_reference<>())
77 .def(
"ClearMap", &G4Region::ClearMap)
78 .def(
"RegisterMaterialCouplePair", &G4Region::RegisterMaterialCouplePair)
79 .def(
"FindCouple", &G4Region::FindCouple,
80 return_value_policy<reference_existing_object>())
81 #if G4VERSION_NUMBER >= 800 82 .def(
"SetFastSimulationManager", &G4Region::SetFastSimulationManager)
83 .def(
"GetFastSimulationManager", &G4Region::GetFastSimulationManager,
84 return_internal_reference<>())
85 .def(
"ClearFastSimulationManager", &G4Region::ClearFastSimulationManager)
86 .def(
"GetWorldPhysical", &G4Region::GetWorldPhysical,
87 return_internal_reference<>())
88 .def(
"SetWorld", &G4Region::SetWorld)
89 .def(
"BelongsTo", &G4Region::BelongsTo)
90 .def(
"GetParentRegion", &G4Region::GetParentRegion,
91 return_value_policy<reference_existing_object>())