31 #include <boost/python.hpp> 32 #include "G4VisManager.hh" 33 #include "G4TrajectoryModelFactories.hh" 52 RegisterModelFactory(
new G4TrajectoryDrawByChargeFactory());
53 RegisterModelFactory(
new G4TrajectoryDrawByParticleIDFactory());
63 = &PyG4VisManager::SetVerboseLevel;
65 = &PyG4VisManager::SetVerboseLevel;
67 = &PyG4VisManager::SetVerboseLevel;
78 scope in_PyG4VisManager =
79 class_<PyG4VisManager, boost::noncopyable>
80 (
"G4VisManager",
"visualization manager")
83 "Get an instance of G4VisManager",
84 return_value_policy<reference_existing_object>())
85 .staticmethod(
"GetConcreteInstance")
90 .def(
"GetVerbosity", &PyG4VisManager::GetVerbosity)
91 .staticmethod(
"GetVerbosity")
93 .def(
"RegisterGraphicsSystem", &PyG4VisManager::RegisterGraphicsSystem)
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)
virtual void RegisterModelFactories()
void(PyG4VisManager::* f2_SetVerboseLevel)(const G4String &)
void(PyG4VisManager::* f3_SetVerboseLevel)(G4VisManager::Verbosity)
virtual void RegisterGraphicsSystems()
static PyG4VisManager * _get_concrete_instance()
void(PyG4VisManager::* f1_SetVerboseLevel)(G4int)
void export_G4VisManager()