| 332 | if (uiWindow) uiWindow->UpdateDrawingStyle(fVP.GetDrawingStyle()); |
| 333 | } |
| 334 | void 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 | } |
| 339 | void G4VViewer::UpdateGUITransparencySlider() { |
| 340 | G4UImanager* UI = G4UImanager::GetUIpointer(); |
| 341 | auto uiWindow = dynamic_cast<G4VInteractiveSession*>(UI->GetG4UIWindow()); |
no test coverage detected