30#define G4TOOLSSG_QT_VIEWER_IN_TAB
32#ifdef G4TOOLSSG_QT_VIEWER_IN_TAB
36#include <toolx/Qt/sg_viewer>
47 "TOOLSSG_QT_GLES is a graphics driver based on the g4tools tools/sg scene graph logic where\n\
48 the rendering is done with GLES and the windowing is done with Qt.",
60 char** argv =
nullptr;
61 std::vector<std::string> args;args.push_back(
"");
62 tools::new_argcv(args,*argc,argv);
65 G4cerr <<
"G4ToolsSGQtGLES::Initialise : session::is_valid() failed." <<
G4endl;
81#ifdef G4TOOLSSG_QT_VIEWER_IN_TAB
88 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer:"
89 <<
" ERROR flagged by negative view id in G4ToolsSGViewer creation."
90 <<
"\n Destroying view and returning null pointer." <<
G4endl;
96 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer: ERROR: null pointer on new G4ToolsSGViewer." <<
G4endl;
104 G4bool isCompatible =
false;
115 session = batch->GetPreviousSession();
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
G4UIsession * GetSession() const
static G4UImanager * GetUIpointer()