#include <G4ToolsSGXtGLES.hh>
Definition at line 35 of file G4ToolsSGXtGLES.hh.
◆ parent
◆ Functionality
Enumerator |
---|
noFunctionality | |
nonEuclidian | |
twoD | |
twoDStore | |
threeD | |
threeDInteractive | |
virtualReality | |
fileWriter | |
Definition at line 49 of file G4VGraphicsSystem.hh.
◆ G4ToolsSGXtGLES() [1/2]
G4ToolsSGXtGLES::G4ToolsSGXtGLES |
( |
| ) |
|
Definition at line 54 of file G4ToolsSGXtGLES.cc.
54 :
56("TOOLSSG_XT_GLES",
57 "TSG_XT_GLES",
58 "TOOLSSG_XT_GLES is a graphics driver based on the g4tools tools/sg scene graph logic where\n\
59 the rendering is done with GLES and the windowing is done with the Xt toolkit.",
62{}
◆ ~G4ToolsSGXtGLES()
G4ToolsSGXtGLES::~G4ToolsSGXtGLES |
( |
| ) |
|
|
virtual |
◆ G4ToolsSGXtGLES() [2/2]
◆ AddNickname()
void G4VGraphicsSystem::AddNickname |
( |
const G4String & |
nickname | ) |
|
|
inlineinherited |
◆ CreateSceneHandler()
◆ CreateViewer()
Implements G4VGraphicsSystem.
Definition at line 87 of file G4ToolsSGXtGLES.cc.
87 {
92 if (pView) {
95 "G4ToolsSGXtGLES::CreateViewer: ERROR flagged by negative"
96 " view id in G4ToolsSGViewer creation."
97 "\n Destroying view and returning null pointer."
99 delete pView;
100 pView = nullptr;
101 }
102 }
103 if (!pView) {
105 "G4ToolsSGXtGLES::CreateViewer: ERROR: null pointer on new G4ToolsSGViewer."
107 }
108 return pView;
109}
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 G4ToolsSGXtGLES::Initialise |
( |
| ) |
|
|
protected |
Definition at line 68 of file G4ToolsSGXtGLES.cc.
68 {
70 int* argc = new int;
71 char** argv = nullptr;
72 tools::new_argcv(std::vector<std::string>(),*argc,argv);
75 G4cerr <<
"G4ToolsSGXtGLES::Initialise : session::is_valid() failed." <<
G4endl;
78 return;
79 }
80}
G4GLOB_DLL std::ostream G4cout
static G4UIterminal * session
References fSGSession, G4cerr, G4cout, G4endl, and session.
Referenced by CreateViewer().
◆ IsUISessionCompatible()
G4bool G4ToolsSGXtGLES::IsUISessionCompatible |
( |
| ) |
const |
|
virtual |
Reimplemented from G4VGraphicsSystem.
Definition at line 111 of file G4ToolsSGXtGLES.cc.
112{
113 G4bool isCompatible =
false;
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 isCompatible = true;
134
135
136 return isCompatible;
137}
◆ 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: