59 std::ostringstream oss;
60 oss << x/uv <<
" " << y/uv <<
" " << unitName;
71 std::istringstream is(paramString);
86 const G4SceneList& sceneList = fpVisManager -> GetSceneList ();
88 G4int iScene, nScenes = sceneList.size ();
89 for (iScene = 0; iScene < nScenes; iScene++) {
90 if (sceneList [iScene] -> GetName () == sceneName)
break;
94 if (iScene < nScenes) {
95 pScene = sceneList [iScene];
100 G4cout <<
"WARNING: Scene \"" << sceneName <<
"\" not found."
106 fpVisManager -> SetCurrentScene (pScene);
110 G4VViewer* pViewer = fpVisManager -> GetCurrentViewer();
111 G4VSceneHandler* sceneHandler = fpVisManager -> GetCurrentSceneHandler();
112 if (sceneHandler && sceneHandler -> GetScene ()) {
115 ApplyCommand (
"/vis/scene/notifyHandlers");