#include <G4OpenGLImmediateQt.hh>
|
| G4OpenGLImmediateQt () |
|
G4VSceneHandler * | CreateSceneHandler (const G4String &name="") |
|
G4VViewer * | CreateViewer (G4VSceneHandler &, const G4String &name="") |
|
| G4OpenGLQt (const G4String &name, const G4String &nickname, const G4String &description, Functionality f) |
|
G4bool | IsUISessionCompatible () const |
|
| G4VGraphicsSystem (const G4String &name, Functionality f) |
|
| G4VGraphicsSystem (const G4String &name, const G4String &nickname, Functionality f) |
|
| G4VGraphicsSystem (const G4String &name, const G4String &nickname, const G4String &description, Functionality f) |
|
virtual | ~G4VGraphicsSystem () |
|
virtual G4VSceneHandler * | CreateSceneHandler (const G4String &name)=0 |
|
virtual G4VViewer * | CreateViewer (G4VSceneHandler &, const G4String &name)=0 |
|
const G4String & | GetName () const |
|
const G4String & | GetNickname () const |
|
const std::vector< G4String > & | GetNicknames () const |
|
const G4String & | GetDescription () const |
|
Functionality | GetFunctionality () const |
|
virtual G4bool | IsUISessionCompatible () const |
|
void | AddNickname (const G4String &nickname) |
|
Definition at line 36 of file G4OpenGLImmediateQt.hh.
◆ G4OpenGLImmediateQt()
G4OpenGLImmediateQt::G4OpenGLImmediateQt |
( |
| ) |
|
Definition at line 40 of file G4OpenGLImmediateQt.cc.
40 :
42 "OGLIQt",
45{
47}
G4String G4VisFeaturesOfOpenGLIQt()
static G4OpenGLViewerMessenger * GetInstance()
◆ CreateSceneHandler()
◆ CreateViewer()
Implements G4VGraphicsSystem.
Definition at line 55 of file G4OpenGLImmediateQt.cc.
56 {
60 if (pView) {
61 if (pView -> GetViewId () < 0) {
62 G4cerr <<
"G4OpenGLImmediateQt::CreateViewer: error flagged by negative"
63 " view id in G4OpenGLImmediateQtViewer creation."
64 "\n Destroying view and returning null pointer."
66 delete pView;
67 pView = 0;
68 }
69 }
70 else {
71 G4cerr <<
"G4OpenGLImmediateQt::CreateViewer: null pointer on"
72 " new G4OpenGLImmediateQtViewer." <<
G4endl;
73 }
74 return pView;
75}
G4GLOB_DLL std::ostream G4cerr
The documentation for this class was generated from the following files: