60 std::ostringstream oss;
61 oss << x/uv <<
" " << y/uv <<
" " << unitName;
72 std::istringstream is(paramString);
87 const G4SceneList& sceneList = fpVisManager -> GetSceneList ();
89 G4int iScene, nScenes = sceneList.size ();
90 for (iScene = 0; iScene < nScenes; iScene++) {
91 if (sceneList [iScene] -> GetName () == sceneName)
break;
95 if (iScene < nScenes) {
96 pScene = sceneList [iScene];
101 G4cout <<
"WARNING: Scene \"" << sceneName <<
"\" not found."
107 fpVisManager -> SetCurrentScene (pScene);
111 G4VViewer* pViewer = fpVisManager -> GetCurrentViewer();
112 G4VSceneHandler* sceneHandler = fpVisManager -> GetCurrentSceneHandler();
113 if (sceneHandler && sceneHandler -> GetScene ()) {
116 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)
const G4double x[NPOINTSGL]
static G4double fCurrentLineWidth
static G4Colour fCurrentTextColour
static void ConvertToDoublePair(const G4String ¶mString, G4double &xval, G4double &yval)
static G4VisManager * fpVisManager