62 std::ostringstream oss;
63 oss << x/uv <<
" " << y/uv <<
" " << unitName;
74 std::istringstream is(paramString);
89 const G4SceneList& sceneList = fpVisManager -> GetSceneList ();
91 G4int iScene, nScenes = sceneList.size ();
92 for (iScene = 0; iScene < nScenes; iScene++) {
93 if (sceneList [iScene] -> GetName () == sceneName)
break;
97 if (iScene < nScenes) {
98 pScene = sceneList [iScene];
103 G4cout <<
"WARNING: Scene \"" << sceneName <<
"\" not found."
109 fpVisManager -> SetCurrentScene (pScene);
113 G4VViewer* pViewer = fpVisManager -> GetCurrentViewer();
114 G4VSceneHandler* sceneHandler = fpVisManager -> GetCurrentSceneHandler();
115 if (sceneHandler && sceneHandler -> GetScene ()) {
118 ApplyCommand (
"/vis/scene/notifyHandlers");
static G4ModelingParameters::PVNameCopyNoPath fCurrentTouchablePath
static G4Colour fCurrentColour
void UpdateVisManagerScene(const G4String &sceneName="")
static G4Text::Layout fCurrentTextLayout
static G4double fCurrentTextSize
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