LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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 77 of file pyG4VisManager.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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 &)
void Initialize()
Definition: errprop.cc:101
void(PyG4VisManager::* f3_SetVerboseLevel)(G4VisManager::Verbosity)
static PyG4VisManager * _get_concrete_instance()
std::string value(boost::any const &)
void(PyG4VisManager::* f1_SetVerboseLevel)(G4int)