34#ifdef G4VIS_BUILD_VRML_DRIVER
54 fPort = FR_VRML_DEFAULT_PORT;
55 char *pport = std::getenv(FR_VRML_PORT_ENV);
57 sscanf(pport,
"%d", &fPort);
61 fHostName =
"localhost" ;
62 char *phostname = std::getenv(FR_VRML_HOST_NAME_ENV);
64 fHostName = phostname;
77 p =
new G4VRML2SceneHandler(*
this, name);
86 G4VRML2SceneHandler* pScene = (G4VRML2SceneHandler*)&scene;
87 pView =
new G4VRML2Viewer(*pScene, name);