Geant4 11.1.1
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 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 38 of file G4VRML2File.hh.

Constructor & Destructor Documentation

◆ G4VRML2File()

G4VRML2File::G4VRML2File ( )

Definition at line 40 of file G4VRML2File.cc.

◆ ~G4VRML2File()

G4VRML2File::~G4VRML2File ( )
virtual

Definition at line 44 of file G4VRML2File.cc.

44{}

Member Function Documentation

◆ CreateSceneHandler()

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

Implements G4VGraphicsSystem.

Definition at line 46 of file G4VRML2File.cc.

47{
48 G4VSceneHandler* p = NULL;
49
50 p = new G4VRML2FileSceneHandler(*this, name);
51
52 return p;
53}

◆ CreateViewer()

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

Implements G4VGraphicsSystem.

Definition at line 55 of file G4VRML2File.cc.

57{
58 G4VViewer* pView = NULL;
59
61 pView = new G4VRML2FileViewer(*pScene, name);
62
63 return pView;
64}

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