LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4VisManager.cc File Reference
#include <boost/python.hpp>
#include "G4VisManager.hh"
#include "G4TrajectoryModelFactories.hh"

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 76 of file pyG4VisManager.cc.

References PyG4VisManager::_get_concrete_instance(), pyG4VisManager::f1_SetVerboseLevel, pyG4VisManager::f2_SetVerboseLevel, pyG4VisManager::f3_SetVerboseLevel, Initialize(), and value.

Referenced by BOOST_PYTHON_MODULE().

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