Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VGraphicsSystem Class Referenceabstract

#include <G4VGraphicsSystem.hh>

+ Inheritance diagram for G4VGraphicsSystem:

Public Types

enum  Functionality {
  noFunctionality , nonEuclidian , twoD , twoDStore ,
  threeD , threeDInteractive , virtualReality
}
 

Public Member Functions

 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 G4StringGetDescription () const
 
Functionality GetFunctionality () const
 
virtual G4bool IsUISessionCompatible () const
 
void SetName (const G4String &)
 
void SetNickname (const G4String &)
 
void SetDescription (const G4String &)
 
void SetFunctionality (Functionality)
 

Protected Attributes

G4String fName
 
G4String fNickname
 
G4String fDescription
 
Functionality fFunctionality
 

Detailed Description

Definition at line 44 of file G4VGraphicsSystem.hh.

Member Enumeration Documentation

◆ Functionality

Enumerator
noFunctionality 
nonEuclidian 
twoD 
twoDStore 
threeD 
threeDInteractive 
virtualReality 

Definition at line 48 of file G4VGraphicsSystem.hh.

48 {
50 nonEuclidian, // e.g., tree representation of geometry hierarchy.
51 twoD, // Simple 2D, e.g., X (no stored structures).
52 twoDStore, // 2D with stored structures.
53 threeD, // Passive 3D (with stored structures).
54 threeDInteractive, // 3D with "pick" functionality.
55 virtualReality // Virtual Reality functionality.
56 };

Constructor & Destructor Documentation

◆ G4VGraphicsSystem() [1/3]

G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
Functionality  f 
)

Definition at line 39 of file G4VGraphicsSystem.cc.

40 :
41 fName (name),
42 fNickname (""),
43 fDescription (""),
44 fFunctionality (f) {}
Functionality fFunctionality

◆ G4VGraphicsSystem() [2/3]

G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
const G4String nickname,
Functionality  f 
)

Definition at line 46 of file G4VGraphicsSystem.cc.

48 :
49 fName (name),
50 fNickname (nickname),
51 fDescription (""),
52 fFunctionality (f) {}

◆ G4VGraphicsSystem() [3/3]

G4VGraphicsSystem::G4VGraphicsSystem ( const G4String name,
const G4String nickname,
const G4String description,
Functionality  f 
)

Definition at line 54 of file G4VGraphicsSystem.cc.

57 :
58 fName (name),
59 fNickname (nickname),
60 fDescription (description),
61 fFunctionality (f) {}

◆ ~G4VGraphicsSystem()

G4VGraphicsSystem::~G4VGraphicsSystem ( )
virtual

Definition at line 37 of file G4VGraphicsSystem.cc.

37{}

Member Function Documentation

◆ CreateSceneHandler()

◆ CreateViewer()

◆ GetDescription()

const G4String & G4VGraphicsSystem::GetDescription ( ) const

◆ GetFunctionality()

Functionality G4VGraphicsSystem::GetFunctionality ( ) const

◆ GetName()

const G4String & G4VGraphicsSystem::GetName ( ) const

◆ GetNickname()

const G4String & G4VGraphicsSystem::GetNickname ( ) const

◆ IsUISessionCompatible()

G4bool G4VGraphicsSystem::IsUISessionCompatible ( ) const
virtual

Reimplemented in G4OpenGLQt.

Definition at line 63 of file G4VGraphicsSystem.cc.

64{
65 return true;
66}

◆ SetDescription()

void G4VGraphicsSystem::SetDescription ( const G4String )

◆ SetFunctionality()

void G4VGraphicsSystem::SetFunctionality ( Functionality  )

◆ SetName()

void G4VGraphicsSystem::SetName ( const G4String )

◆ SetNickname()

void G4VGraphicsSystem::SetNickname ( const G4String )

Member Data Documentation

◆ fDescription

G4String G4VGraphicsSystem::fDescription
protected

Definition at line 90 of file G4VGraphicsSystem.hh.

◆ fFunctionality

Functionality G4VGraphicsSystem::fFunctionality
protected

Definition at line 91 of file G4VGraphicsSystem.hh.

◆ fName

G4String G4VGraphicsSystem::fName
protected

Definition at line 88 of file G4VGraphicsSystem.hh.

◆ fNickname

G4String G4VGraphicsSystem::fNickname
protected

Definition at line 89 of file G4VGraphicsSystem.hh.


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