MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetLineWidth

Method GetLineWidth

source/visualization/management/src/G4VSceneHandler.cc:1210–1217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208}
1209
1210G4double G4VSceneHandler::GetLineWidth(const G4VisAttributes* pVisAttribs)
1211{
1212 G4double lineWidth = pVisAttribs->GetLineWidth();
1213 if (lineWidth < 1.) lineWidth = 1.;
1214 lineWidth *= fpViewer -> GetViewParameters().GetGlobalLineWidthScale();
1215 if (lineWidth < 1.) lineWidth = 1.;
1216 return lineWidth;
1217}
1218
1219G4ViewParameters::DrawingStyle G4VSceneHandler::GetDrawingStyle
1220(const G4VisAttributes* pVisAttribs) {

Callers 10

DescribeAndDescendMethod · 0.80
operator!=Method · 0.80
DrawWithoutTimeFunction · 0.80
DrawWithTimeFunction · 0.80
TouchableCommandsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected