Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VRML2File Class Reference

#include <G4VRML2File.hh>

Inheritance diagram for G4VRML2File:
Collaboration 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 ()
 
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 39 of file G4VRML2File.hh.

Constructor & Destructor Documentation

G4VRML2File::G4VRML2File ( )

Definition at line 44 of file G4VRML2File.cc.

44  :
45  G4VGraphicsSystem("VRML2FILE", "VRML2FILE", G4VGraphicsSystem::fileWriter
46 )
47 {
48 }
G4VGraphicsSystem(const G4String &name, Functionality f)
G4VRML2File::~G4VRML2File ( )
virtual

Definition at line 50 of file G4VRML2File.cc.

51 {
52 }

Member Function Documentation

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

Implements G4VGraphicsSystem.

Definition at line 55 of file G4VRML2File.cc.

56 {
57  G4VSceneHandler *p = NULL;
58 
59  p = new G4VRML2FileSceneHandler(*this, name);
60 
61  return p;
62 }
const char * p
Definition: xmltok.h:285
G4VViewer * G4VRML2File::CreateViewer ( G4VSceneHandler scene,
const G4String name = "" 
)
virtual

Implements G4VGraphicsSystem.

Definition at line 64 of file G4VRML2File.cc.

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

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