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

#include <G4VRML2File.hh>

+ Inheritance diagram for G4VRML2File:

Public Member Functions

 G4VRML2File ()
 
virtual ~G4VRML2File ()
 
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 39 of file G4VRML2File.hh.

Constructor & Destructor Documentation

◆ G4VRML2File()

G4VRML2File::G4VRML2File ( )

Definition at line 44 of file G4VRML2File.cc.

◆ ~G4VRML2File()

G4VRML2File::~G4VRML2File ( )
virtual

Definition at line 49 of file G4VRML2File.cc.

50{
51}

Member Function Documentation

◆ CreateSceneHandler()

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

Implements G4VGraphicsSystem.

Definition at line 54 of file G4VRML2File.cc.

55{
56 G4VSceneHandler *p = NULL;
57
58 p = new G4VRML2FileSceneHandler(*this, name);
59
60 return p;
61}

◆ CreateViewer()

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

Implements G4VGraphicsSystem.

Definition at line 63 of file G4VRML2File.cc.

64{
65 G4VViewer* pView = NULL;
66
68 pView = new G4VRML2FileViewer(*pScene, name);
69
70 return pView;
71}

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