Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4OpenGLQt Class Reference

#include <G4OpenGLQt.hh>

+ Inheritance diagram for G4OpenGLQt:

Public Member Functions

 G4OpenGLQt (const G4String &name, const G4String &nickname, const G4String &description, Functionality f)
 
G4bool IsUISessionCompatible () const
 
- Public Member Functions inherited from G4VGraphicsSystem
 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 G4VSceneHandlerCreateSceneHandler (const G4String &name)=0
 
virtual G4VViewerCreateViewer (G4VSceneHandler &, const G4String &name)=0
 
const G4StringGetName () const
 
const G4StringGetNickname () const
 
const std::vector< G4String > & GetNicknames () const
 
const G4StringGetDescription () const
 
Functionality GetFunctionality () const
 
void AddNickname (const G4String &nickname)
 

Additional Inherited Members

- Public Types inherited from G4VGraphicsSystem
enum  Functionality {
  noFunctionality , nonEuclidian , twoD , twoDStore ,
  threeD , threeDInteractive , virtualReality , fileWriter
}
 
- Protected Attributes inherited from G4VGraphicsSystem
G4String fName
 
std::vector< G4StringfNicknames
 
G4String fDescription
 
Functionality fFunctionality
 

Detailed Description

Definition at line 36 of file G4OpenGLQt.hh.

Constructor & Destructor Documentation

◆ G4OpenGLQt()

G4OpenGLQt::G4OpenGLQt ( const G4String & name,
const G4String & nickname,
const G4String & description,
Functionality f )

Definition at line 37 of file G4OpenGLQt.cc.

40 :
42 nickname,
43 description,
44 f)
45{}
G4VGraphicsSystem(const G4String &name, Functionality f)

Member Function Documentation

◆ IsUISessionCompatible()

G4bool G4OpenGLQt::IsUISessionCompatible ( ) const
virtual

Reimplemented from G4VGraphicsSystem.

Definition at line 47 of file G4OpenGLQt.cc.

48{
49 // Qt windows require a Qt session.
51 if (dynamic_cast<G4UIQt*>(baseSession) != nullptr) return true;
52 return false;
53}
static G4UImanager * GetUIpointer()
G4UIsession * GetBaseSession() const

The documentation for this class was generated from the following files: