69 scope in_G4VisAttributes=
70 class_<G4VisAttributes, G4VisAttributes*>
71 (
"G4VisAttributes",
"visualization attributes")
74 .def(init<const G4Colour&>())
75 .def(init<G4bool, const G4Colour&>())
77 .def(
"GetInvisible", &G4VisAttributes::GetInvisible,
78 return_value_policy<reference_existing_object>())
79 .staticmethod(
"GetInvisible")
80 .def(
"IsVisible", &G4VisAttributes::IsVisible)
81 .def(
"IsDaughtersInvisible", &G4VisAttributes::IsDaughtersInvisible)
83 .def(
"GetColour", &G4VisAttributes::GetColour,
84 return_internal_reference<>())
85 .def(
"GetColor", &G4VisAttributes::GetColor,
86 return_internal_reference<>())
88 .def(
"GetLineStyle", &G4VisAttributes::GetLineStyle)
89 .def(
"GetLineWidth", &G4VisAttributes::GetLineWidth)
90 .def(
"IsForceDrawingStyle", &G4VisAttributes::IsForceDrawingStyle)
91 .def(
"GetForcedDrawingStyle", &G4VisAttributes::GetForcedDrawingStyle)
92 .def(
"IsForceAuxEdgeVisible", &G4VisAttributes::IsForceAuxEdgeVisible)
93 .def(
"SetVisibility", &G4VisAttributes::SetVisibility)
94 .def(
"SetDaughtersInvisible", &G4VisAttributes::SetDaughtersInvisible)
101 .def(
"SetForceWireframe", &G4VisAttributes::SetForceWireframe)
102 .def(
"SetForceSolid", &G4VisAttributes::SetForceSolid)
103 .def(
"SetForceAuxEdgeVisible", &G4VisAttributes::SetForceAuxEdgeVisible)
104 .def(
"SetAttValues", &G4VisAttributes::SetAttValues)
105 .def(
"SetAttDefs", &G4VisAttributes::SetAttDefs)
107 .def(self_ns::str(
self))
113 enum_<G4VisAttributes::LineStyle>(
"LineStyle")
114 .
value(
"unbroken", G4VisAttributes::unbroken)
115 .value(
"dashed", G4VisAttributes::dashed)
116 .value(
"dotted", G4VisAttributes::dotted)
120 enum_<G4VisAttributes::ForcedDrawingStyle>(
"ForcedDrawingStyle")
121 .
value(
"wireframe", G4VisAttributes::wireframe)
122 .value(
"solid", G4VisAttributes::solid)
void(G4VisAttributes::* f1_SetColor)(const G4Color &)
void(G4VisAttributes::* f2_SetColor)(G4double, G4double, G4double, G4double)
void(G4VisAttributes::* f2_SetColour)(G4double, G4double, G4double, G4double)
void(G4VisAttributes::* f1_SetColour)(const G4Colour &)
h_2 SetLineStyle(kDashed)