#include <G4ToolsSGQtGLES.hh>
Definition at line 35 of file G4ToolsSGQtGLES.hh.
◆ parent
◆ Functionality
Enumerator |
---|
noFunctionality | |
nonEuclidian | |
twoD | |
twoDStore | |
threeD | |
threeDInteractive | |
virtualReality | |
fileWriter | |
Definition at line 49 of file G4VGraphicsSystem.hh.
◆ G4ToolsSGQtGLES() [1/2]
G4ToolsSGQtGLES::G4ToolsSGQtGLES |
( |
| ) |
|
Definition at line 42 of file G4ToolsSGQtGLES.cc.
42 :
44("TOOLSSG_QT_GLES",
45 "TSG_QT_GLES",
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.",
50{}
◆ ~G4ToolsSGQtGLES()
G4ToolsSGQtGLES::~G4ToolsSGQtGLES |
( |
| ) |
|
|
virtual |
◆ G4ToolsSGQtGLES() [2/2]
◆ AddNickname()
void G4VGraphicsSystem::AddNickname |
( |
const G4String & |
nickname | ) |
|
|
inlineinherited |
◆ CreateSceneHandler()
◆ CreateViewer()
Implements G4VGraphicsSystem.
Definition at line 76 of file G4ToolsSGQtGLES.cc.
76 {
80#ifdef G4TOOLSSG_QT_VIEWER_IN_TAB
82#else
84#endif
85 if (pView) {
87 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer:"
88 << " ERROR flagged by negative view id in G4ToolsSGViewer creation."
89 <<
"\n Destroying view and returning null pointer." <<
G4endl;
90 delete pView;
91 pView = nullptr;
92 }
93 }
94 if (!pView) {
95 G4cerr <<
"G4ToolsSGQtGLES::CreateViewer: ERROR: null pointer on new G4ToolsSGViewer." <<
G4endl;
96 return nullptr;
97 }
98 return pView;
99}
G4GLOB_DLL std::ostream G4cerr
References fSGSession, G4cerr, G4endl, G4VViewer::GetViewId(), and Initialise().
◆ GetDescription()
const G4String & G4VGraphicsSystem::GetDescription |
( |
| ) |
const |
|
inlineinherited |
◆ GetFunctionality()
◆ GetName()
const G4String & G4VGraphicsSystem::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ GetNickname()
const G4String & G4VGraphicsSystem::GetNickname |
( |
| ) |
const |
|
inlineinherited |
◆ GetNicknames()
const std::vector< G4String > & G4VGraphicsSystem::GetNicknames |
( |
| ) |
const |
|
inlineinherited |
◆ Initialise()
void G4ToolsSGQtGLES::Initialise |
( |
| ) |
|
|
protected |
◆ IsUISessionCompatible()
G4bool G4ToolsSGQtGLES::IsUISessionCompatible |
( |
| ) |
const |
|
virtual |
Reimplemented from G4VGraphicsSystem.
Definition at line 101 of file G4ToolsSGQtGLES.cc.
102{
103 G4bool isCompatible =
false;
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123 isCompatible = true;
124
125
126 return isCompatible;
127}
◆ operator=()
◆ fDescription
G4String G4VGraphicsSystem::fDescription |
|
protectedinherited |
◆ fFunctionality
◆ fName
◆ fNicknames
std::vector<G4String> G4VGraphicsSystem::fNicknames |
|
protectedinherited |
◆ fSGSession
The documentation for this class was generated from the following files: