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

Method ProcessView

source/visualization/management/src/G4VViewer.cc:112–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110void G4VViewer::ShowView() {}
111
112void 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
133void G4VViewer::ProcessTransients()
134{

Callers

nothing calls this directly

Calls 4

ClearStoreMethod · 0.45
ProcessSceneMethod · 0.45
StopMethod · 0.45
GetRealElapsedMethod · 0.45

Tested by

no test coverage detected