Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pymodG4visualization.cc File Reference
#include <boost/python.hpp>
Include dependency graph for pymodG4visualization.cc:

Go to the source code of this file.

Functions

void export_G4VisManager ()
 
void export_G4VGraphicsSystem ()
 
void export_G4VRML1File ()
 
void export_G4VRML2File ()
 
void export_G4DAWNFILE ()
 
void export_G4HepRep ()
 
void export_G4HepRepFile ()
 
void export_G4ASCIITree ()
 
void export_G4RayTracer ()
 
 BOOST_PYTHON_MODULE (G4visualization)
 

Function Documentation

BOOST_PYTHON_MODULE ( G4visualization  )

Definition at line 64 of file pymodG4visualization.cc.

65 {
75 
76 #ifdef G4VIS_USE_OPENGLX
77  export_G4OpenGLStoredX();
78  export_G4OpenGLImmediateX();
79 #endif
80 
81 #ifdef G4VIS_USE_OPENGLXM
82  export_G4OpenGLStoredXm();
83  export_G4OpenGLImmediateXm();
84 #endif
85 
86 #ifdef G4VIS_USE_RAYTRACERX
87  export_G4RayTracerX();
88 #endif
89 
90 }
void export_G4VRML2File()
void export_G4VRML1File()
void export_G4HepRep()
Definition: pyG4HepRep.cc:40
void export_G4DAWNFILE()
Definition: pyG4DAWNFILE.cc:40
void export_G4ASCIITree()
void export_G4VisManager()
void export_G4RayTracer()
void export_G4HepRepFile()
void export_G4VGraphicsSystem()

Here is the call graph for this function:

void export_G4ASCIITree ( )

Definition at line 40 of file pyG4ASCIITree.cc.

41 {
42  class_<G4ASCIITree, G4ASCIITree*, bases<G4VGraphicsSystem> >
43  ("G4ASCIITree", "ASCII tree visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4DAWNFILE ( )

Definition at line 40 of file pyG4DAWNFILE.cc.

41 {
42  class_<G4DAWNFILE, G4DAWNFILE*, bases<G4VGraphicsSystem> >
43  ("G4DAWNFILE", "DAWN(file) visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4HepRep ( )

Definition at line 40 of file pyG4HepRep.cc.

41 {
42  class_<G4HepRep, G4HepRep*, bases<G4VGraphicsSystem> >
43  ("G4HepRep", "HepRep visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4HepRepFile ( )

Definition at line 40 of file pyG4HepRepFile.cc.

41 {
42  class_<G4HepRepFile, G4HepRepFile*, bases<G4VGraphicsSystem> >
43  ("G4HepRepFile", "HepRep(File) visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4RayTracer ( )

Definition at line 40 of file pyG4RayTracer.cc.

41 {
42  class_<G4RayTracer, G4RayTracer*, bases<G4VGraphicsSystem> >
43  ("G4RayTracer", "RayTracer visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4VGraphicsSystem ( )

Definition at line 40 of file pyG4VGraphicsSystem.cc.

41 {
42  class_<G4VGraphicsSystem, G4VGraphicsSystem*, boost::noncopyable>
43  ("G4VGraphicsSystem", "base class of graphics system", no_init)
44  ;
45 }

Here is the caller graph for this function:

void export_G4VisManager ( )

Definition at line 77 of file pyG4VisManager.cc.

78 {
79  scope in_PyG4VisManager =
80  class_<PyG4VisManager, boost::noncopyable>
81  ("G4VisManager", "visualization manager")
82  // ---
83  .def("GetConcreteInstance", &PyG4VisManager::_get_concrete_instance,
84  "Get an instance of G4VisManager",
85  return_value_policy<reference_existing_object>())
86  .staticmethod("GetConcreteInstance")
87  // ---
88  .def("SetVerboseLevel", f1_SetVerboseLevel)
89  .def("SetVerboseLevel", f2_SetVerboseLevel)
90  .def("SetVerboseLevel", f3_SetVerboseLevel)
91  .def("GetVerbosity", &PyG4VisManager::GetVerbosity)
92  .staticmethod("GetVerbosity")
93  .def("Initialize", &PyG4VisManager::Initialize)
94  .def("RegisterGraphicsSystem", &PyG4VisManager::RegisterGraphicsSystem)
95  ;
96 
97  // enum LineStyle
98  enum_<G4VisManager::Verbosity>("Verbosity")
99  .value("quiet", G4VisManager::quiet)
100  .value("startup", G4VisManager::startup)
101  .value("errors", G4VisManager::errors)
102  .value("warnings", G4VisManager::warnings)
103  .value("confirmations", G4VisManager::confirmations)
104  .value("parameters", G4VisManager::parameters)
105  .value("all", G4VisManager::all)
106  ;
107 }
void(PyG4VisManager::* f2_SetVerboseLevel)(const G4String &)
const XML_Char int const XML_Char * value
Definition: expat.h:331
void(PyG4VisManager::* f1_SetVerboseLevel)(G4int)
void Initialize()
void(PyG4VisManager::* f3_SetVerboseLevel)(G4VisManager::Verbosity)
static Verbosity GetVerbosity()
static PyG4VisManager * _get_concrete_instance()
G4bool RegisterGraphicsSystem(G4VGraphicsSystem *)

Here is the call graph for this function:

Here is the caller graph for this function:

void export_G4VRML1File ( )

Definition at line 40 of file pyG4VRML1File.cc.

41 {
42  class_<G4VRML1File, G4VRML1File*, bases<G4VGraphicsSystem> >
43  ("G4VRML1File", "VRML-1(file) visualization module")
44  ;
45 }

Here is the caller graph for this function:

void export_G4VRML2File ( )

Definition at line 40 of file pyG4VRML2File.cc.

41 {
42  class_<G4VRML2File, G4VRML2File*, bases<G4VGraphicsSystem> >
43  ("G4VRML2File", "VRML-2(file) visualization module")
44  ;
45 }

Here is the caller graph for this function: