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