#include <G4OpenGLStoredXm.hh>
|
| G4OpenGLStoredXm () |
|
G4VSceneHandler * | CreateSceneHandler (const G4String &name="") |
|
G4VViewer * | CreateViewer (G4VSceneHandler &, const G4String &name="") |
|
| G4OpenGLXm (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 37 of file G4OpenGLStoredXm.hh.
◆ G4OpenGLStoredXm()
G4OpenGLStoredXm::G4OpenGLStoredXm |
( |
| ) |
|
Definition at line 41 of file G4OpenGLStoredXm.cc.
41 :
43 "OGLSXm",
46{
49}
G4String G4VisFeaturesOfOpenGLSXm()
static G4OpenGLViewerMessenger * GetInstance()
static G4OpenGLXmViewerMessenger * GetInstance()
◆ CreateSceneHandler()
◆ CreateViewer()
Implements G4VGraphicsSystem.
Definition at line 56 of file G4OpenGLStoredXm.cc.
56 {
59 if (pView) {
60 if (pView -> GetViewId () < 0) {
61 delete pView;
62 pView = 0;
63 G4cerr <<
"G4OpenGLStoredXm::CreateViewer: error flagged by"
64 " negative view id in G4OpenGLStoredXmViewer creation."
65 "\n Destroying view and returning null pointer." <<
G4endl;
66 }
67 }
68 else {
69 G4cerr <<
"G4OpenGLStoredXm::CreateViewer: null pointer on"
70 " new G4OpenGLStoredXmViewer." <<
G4endl;
71 }
72 return pView;
73}
G4GLOB_DLL std::ostream G4cerr
The documentation for this class was generated from the following files: