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");
static G4ModelingParameters::PVNameCopyNoPath fCurrentTouchablePath
static G4Colour fCurrentColour
void UpdateVisManagerScene(const G4String &sceneName="")
static G4Text::Layout fCurrentTextLayout
static G4UImanager * GetUIpointer()
G4GLOB_DLL std::ostream G4cout
std::vector< PVNameCopyNo > PVNameCopyNoPath
static G4String ConvertToString(G4double x, G4double y, const char *unitName)
static G4double ValueOf(const char *unitName)
static G4double fCurrentLineWidth
static G4Colour fCurrentTextColour
static void ConvertToDoublePair(const G4String ¶mString, G4double &xval, G4double &yval)
static G4VisManager * fpVisManager