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

Method UpdateGUIDrawingStyle

source/visualization/management/src/G4VViewer.cc:328–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void G4VViewer::UpdateGUIDrawingStyle()
329{
330 G4UImanager* UI = G4UImanager::GetUIpointer();
331 auto uiWindow = dynamic_cast<G4VInteractiveSession*>(UI->GetG4UIWindow());
332 if (uiWindow) uiWindow->UpdateDrawingStyle(fVP.GetDrawingStyle());
333}
334void G4VViewer::UpdateGUIProjectionStyle() {
335 G4UImanager* UI = G4UImanager::GetUIpointer();
336 auto uiWindow = dynamic_cast<G4VInteractiveSession*>(UI->GetG4UIWindow());

Callers 1

Calls 3

GetG4UIWindowMethod · 0.80
GetDrawingStyleMethod · 0.80
UpdateDrawingStyleMethod · 0.45

Tested by

no test coverage detected