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