31 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4VisAttributes {
62 using namespace pyG4VisAttributes;
69 scope in_G4VisAttributes=
70 class_<G4VisAttributes, G4VisAttributes*>
71 (
"G4VisAttributes",
"visualization attributes")
74 .def(init<const G4Colour&>())
75 .def(init<G4bool, const G4Colour&>())
78 return_value_policy<reference_existing_object>())
79 .staticmethod(
"GetInvisible")
84 return_internal_reference<>())
86 return_internal_reference<>())
107 .def(self_ns::str(
self))
113 enum_<G4VisAttributes::LineStyle>(
"LineStyle")
120 enum_<G4VisAttributes::ForcedDrawingStyle>(
"ForcedDrawingStyle")