33 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER
58 G4VSceneHandler* pScene =
new G4OpenGLImmediateSceneHandler (*
this, name);
65 new G4OpenGLImmediateXmViewer ((G4OpenGLImmediateSceneHandler&) scene, name);
67 if (pView -> GetViewId () < 0) {
68 G4cerr <<
"G4OpenGLImmediateXm::CreateViewer: error flagged by"
69 " negative view id in G4OpenGLImmediateXmViewer creation."
70 "\n Destroying view and returning null pointer." <<
G4endl;
76 G4cerr <<
"G4OpenGLImmediateXm::CreateViewer: null pointer on"
77 " new G4OpenGLImmediateXmViewer." <<
G4endl;
G4String G4VisFeaturesOfOpenGLIXm()
static G4OpenGLViewerMessenger * GetInstance()
std::map< G4String, G4AttDef > * GetInstance(G4String storeKey, G4bool &isNew)
G4GLOB_DLL std::ostream G4cerr