36 #include <boost/python.hpp>
43 using namespace boost::python;
82 CreateTubeVolume, 4, 6)
88 CreateSphereVolume, 3, 7)
105 = &G4EzVolume::SetColor;
109 using namespace pyEZgeom;
117 class_<G4EzVolume>(
"G4EzVolume",
"an easy way of geometry configuration")
118 .def(init<const G4String&>())
122 f_CreateTubeVolume())
124 f_CreateConeVolume())
126 f_CreateSphereVolume())
131 return_value_policy<reference_existing_object>())
134 return_value_policy<reference_existing_object>())
136 .def(
"PlaceIt", f1_PlaceIt,
137 f_PlaceIt()[return_value_policy<reference_existing_object>()])
139 f_PlaceIt()[return_value_policy<reference_existing_object>()])
141 f_ReplicateIt()[return_value_policy<reference_existing_object>()])