31#define G4TOOLSSG_QT_VIEWER_IN_TAB
33#ifdef G4TOOLSSG_QT_VIEWER_IN_TAB
37#include <tools/Qt/sg_viewer>
46 "TOOLSSG_QT_GLES is a graphics driver based on the g4tools tools/sg scene graph logic where\n\
47 the rendering is done with GLES and the windowing is done with Qt.",
59 char** argv =
nullptr;
60 std::vector<std::string>
args;
args.push_back(
"");
61 tools::new_argcv(
args,*argc,argv);
64 G4cerr <<
"G4ToolsSGQtGLES::Initialise : session::is_valid() failed." <<
G4endl;
80#ifdef G4TOOLSSG_QT_VIEWER_IN_TAB
87 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer:"
88 <<
" ERROR flagged by negative view id in G4ToolsSGViewer creation."
89 <<
"\n Destroying view and returning null pointer." <<
G4endl;
95 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer: ERROR: null pointer on new G4ToolsSGViewer." <<
G4endl;
103 G4bool isCompatible =
false;
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
static G4UIterminal * session