33 #include <boost/python.hpp>
37 using namespace boost::python;
42 namespace pyG4VisAttributes {
64 using namespace pyG4VisAttributes;
71 scope in_G4VisAttributes=
72 class_<G4VisAttributes, G4VisAttributes*>
73 (
"G4VisAttributes",
"visualization attributes")
76 .def(init<const G4Colour&>())
77 .def(init<G4bool, const G4Colour&>())
81 return_value_policy<reference_existing_object>())
82 .staticmethod(
"GetInvisible")
87 return_internal_reference<>())
89 return_internal_reference<>())
110 .def(self_ns::str(
self))
116 enum_<G4VisAttributes::LineStyle>(
"LineStyle")
123 enum_<G4VisAttributes::ForcedDrawingStyle>(
"ForcedDrawingStyle")