31#include <toolx/Xt/sg_viewer>
35class session :
public toolx::Xt::session {
36 using parent = toolx::Xt::session;
42 m_app_context = ::XtWidgetToApplicationContext(m_app_widget);
55 "TOOLSSG_XT_GLES is a graphics driver based on the g4tools tools/sg scene graph logic where\n\
56 the rendering is done with GLES and the windowing is done with the Xt toolkit.",
69 G4cerr <<
"G4ToolsSGXtGLES::Initialise : session::is_valid() failed." <<
G4endl;
89 "G4ToolsSGXtGLES::CreateViewer: ERROR flagged by negative"
90 " view id in G4ToolsSGViewer creation."
91 "\n Destroying view and returning null pointer."
99 "G4ToolsSGXtGLES::CreateViewer: ERROR: null pointer on new G4ToolsSGViewer."
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
G4Interactor GetMainInteractor()
static G4Xt * getInstance()
session(std::ostream &a_out)
session & operator=(const session &a_from)
session(const session &a_from)