Geant4 10.7.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 std::vector< G4String > & GetNicknames () const
 
const G4StringGetDescription () const
 
Functionality GetFunctionality () const
 
virtual G4bool IsUISessionCompatible () 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 45 of file G4GMocrenFile.hh.

Constructor & Destructor Documentation

◆ G4GMocrenFile()

G4GMocrenFile::G4GMocrenFile ( )

Definition at line 44 of file G4GMocrenFile.cc.

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

◆ ~G4GMocrenFile()

G4GMocrenFile::~G4GMocrenFile ( )
virtual

Definition at line 54 of file G4GMocrenFile.cc.

54 {
55 delete kMessenger;
56}

Member Function Documentation

◆ CreateSceneHandler()

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

Implements G4VGraphicsSystem.

Definition at line 60 of file G4GMocrenFile.cc.

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

◆ CreateViewer()

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

Implements G4VGraphicsSystem.

Definition at line 67 of file G4GMocrenFile.cc.

69{
71 *kMessenger, name);
72 return kViewer;
73}

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