| 110 | void G4VViewer::ShowView() {} |
| 111 | |
| 112 | void G4VViewer::ProcessView() |
| 113 | { |
| 114 | // If the scene has changed, or if the concrete viewer has decided |
| 115 | // that it necessary to visit the kernel, perhaps because the view |
| 116 | // parameters have changed significantly (this should be done in the |
| 117 | // concrete viewer's DrawView)... |
| 118 | if (fNeedKernelVisit) { |
| 119 | // Reset flag. This must be done before ProcessScene to prevent |
| 120 | // recursive calls when recomputing transients... |
| 121 | G4Timer timer; |
| 122 | timer.Start(); |
| 123 | fNeedKernelVisit = false; |
| 124 | fSceneHandler.ClearStore(); |
| 125 | fSceneHandler.ProcessScene(); |
| 126 | UpdateGUISceneTree(); |
| 127 | UpdateGUIControlWidgets(); |
| 128 | timer.Stop(); |
| 129 | fKernelVisitElapsedTimeSeconds = timer.GetRealElapsed(); |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | void G4VViewer::ProcessTransients() |
| 134 | { |
nothing calls this directly
no test coverage detected