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

#include <G4GMocrenFile.hh>

+ Inheritance diagram for G4GMocrenFile:

Public Member Functions

 G4GMocrenFile ()
 
virtual ~G4GMocrenFile ()
 
G4VSceneHandlerCreateSceneHandler (const G4String &name="")
 
G4VViewerCreateViewer (G4VSceneHandler &, const G4String &name="")
 
- 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 G4StringGetDescription () const
 
Functionality GetFunctionality () const
 
virtual G4bool IsUISessionCompatible () const
 
void SetName (const G4String &)
 
void SetNickname (const G4String &)
 
void SetDescription (const G4String &)
 
void SetFunctionality (Functionality)
 

Additional Inherited Members

- Public Types inherited from G4VGraphicsSystem
enum  Functionality {
  noFunctionality , nonEuclidian , twoD , twoDStore ,
  threeD , threeDInteractive , virtualReality
}
 
- Protected Attributes inherited from G4VGraphicsSystem
G4String fName
 
G4String fNickname
 
G4String fDescription
 
Functionality fFunctionality
 

Detailed Description

Definition at line 46 of file G4GMocrenFile.hh.

Constructor & Destructor Documentation

◆ G4GMocrenFile()

G4GMocrenFile::G4GMocrenFile ( )

Definition at line 45 of file G4GMocrenFile.cc.

46 : G4VGraphicsSystem ("gMocrenFile", "gMocrenFile",
47 "A gMocren file driver (ver.4)",
49 //GMOCRENFILE_FEATURES, G4VGraphicsSystem::threeD),
50 kViewer(NULL), kSceneHandler(NULL), kMessenger(new G4GMocrenMessenger()) {
51 ;
52}

◆ ~G4GMocrenFile()

G4GMocrenFile::~G4GMocrenFile ( )
virtual

Definition at line 55 of file G4GMocrenFile.cc.

55 {
56 ;
57}

Member Function Documentation

◆ CreateSceneHandler()

G4VSceneHandler * G4GMocrenFile::CreateSceneHandler ( const G4String name = "")
virtual

Implements G4VGraphicsSystem.

Definition at line 61 of file G4GMocrenFile.cc.

62{
63 kSceneHandler = new G4GMocrenFileSceneHandler (*this, *kMessenger, name);
64 return kSceneHandler;
65}

◆ CreateViewer()

G4VViewer * G4GMocrenFile::CreateViewer ( G4VSceneHandler scene,
const G4String name = "" 
)
virtual

Implements G4VGraphicsSystem.

Definition at line 68 of file G4GMocrenFile.cc.

70{
72 *kMessenger, name);
73 return kViewer;
74}

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