32 #include <boost/python.hpp> 33 #include "G4GeometryManager.hh" 34 #include "G4VPhysicalVolume.hh" 55 class_<G4GeometryManager, boost::noncopyable>
56 (
"G4GeometryManager",
"geometry manager", no_init)
57 .def(
"GetInstance", &G4GeometryManager::GetInstance,
58 return_value_policy<reference_existing_object>())
59 .staticmethod(
"GetInstance")
61 .def(
"CloseGeometry", &G4GeometryManager::CloseGeometry,
63 .def(
"OpenGeometry", &G4GeometryManager::OpenGeometry,
65 .def(
"IsGeometryClosed", &G4GeometryManager::IsGeometryClosed)
66 .def(
"SetWorldMaximumExtent", &G4GeometryManager::SetWorldMaximumExtent)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void export_G4GeometryManager()