32 #include <boost/python.hpp> 33 #include "G4VisManager.hh" 34 #include "G4TrajectoryModelFactories.hh" 53 RegisterModelFactory(
new G4TrajectoryDrawByChargeFactory());
54 RegisterModelFactory(
new G4TrajectoryDrawByParticleIDFactory());
64 = &PyG4VisManager::SetVerboseLevel;
66 = &PyG4VisManager::SetVerboseLevel;
68 = &PyG4VisManager::SetVerboseLevel;
79 scope in_PyG4VisManager =
80 class_<PyG4VisManager, boost::noncopyable>
81 (
"G4VisManager",
"visualization manager")
84 "Get an instance of G4VisManager",
85 return_value_policy<reference_existing_object>())
86 .staticmethod(
"GetConcreteInstance")
91 .def(
"GetVerbosity", &PyG4VisManager::GetVerbosity)
92 .staticmethod(
"GetVerbosity")
94 .def(
"RegisterGraphicsSystem", &PyG4VisManager::RegisterGraphicsSystem)
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)
virtual void RegisterModelFactories()
void(PyG4VisManager::* f2_SetVerboseLevel)(const G4String &)
void(PyG4VisManager::* f3_SetVerboseLevel)(G4VisManager::Verbosity)
virtual void RegisterGraphicsSystems()
static PyG4VisManager * _get_concrete_instance()
std::string value(boost::any const &)
void(PyG4VisManager::* f1_SetVerboseLevel)(G4int)
void export_G4VisManager()