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

Method UpdateGUIProjectionStyle

source/visualization/management/src/G4VViewer.cc:334–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 if (uiWindow) uiWindow->UpdateDrawingStyle(fVP.GetDrawingStyle());
333}
334void G4VViewer::UpdateGUIProjectionStyle() {
335 G4UImanager* UI = G4UImanager::GetUIpointer();
336 auto uiWindow = dynamic_cast<G4VInteractiveSession*>(UI->GetG4UIWindow());
337 if (uiWindow) uiWindow->UpdateProjectionStyle(fVP.GetFieldHalfAngle() == 0 ? 0 : 1);
338}
339void G4VViewer::UpdateGUITransparencySlider() {
340 G4UImanager* UI = G4UImanager::GetUIpointer();
341 auto uiWindow = dynamic_cast<G4VInteractiveSession*>(UI->GetG4UIWindow());

Callers 1

Calls 2

GetG4UIWindowMethod · 0.80
UpdateProjectionStyleMethod · 0.45

Tested by

no test coverage detected