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

Go to the source code of this file.

Classes

class  PyG4VisManager
 

Namespaces

 pyG4VisManager
 

Functions

void export_G4VisManager ()
 

Variables

void(PyG4VisManager::* pyG4VisManager::f1_SetVerboseLevel )(G4int) = &PyG4VisManager::SetVerboseLevel
 
void(PyG4VisManager::* pyG4VisManager::f2_SetVerboseLevel )(const G4String &) = &PyG4VisManager::SetVerboseLevel
 
void(PyG4VisManager::* pyG4VisManager::f3_SetVerboseLevel )(G4VisManager::Verbosity) = &PyG4VisManager::SetVerboseLevel
 

Function Documentation

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: