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

Go to the source code of this file.

Namespaces

 pyG4GeometryManager
 

Functions

void export_G4GeometryManager ()
 

Function Documentation

void export_G4GeometryManager ( )

Definition at line 53 of file pyG4GeometryManager.cc.

54 {
55  class_<G4GeometryManager, boost::noncopyable>
56  ("G4GeometryManager", "geometry manager", no_init)
57  .def("GetInstance", &G4GeometryManager::GetInstance,
58  return_value_policy<reference_existing_object>())
59  .staticmethod("GetInstance")
60  // ---
61  .def("CloseGeometry", &G4GeometryManager::CloseGeometry,
62  f_CloseGeometry())
63  .def("OpenGeometry", &G4GeometryManager::OpenGeometry,
64  f_OpenGeometry())
65  .def("IsGeometryClosed", &G4GeometryManager::IsGeometryClosed)
66  .def("SetWorldMaximumExtent", &G4GeometryManager::SetWorldMaximumExtent)
67  ;
68 }
void SetWorldMaximumExtent(G4double worldExtent)
static G4GeometryManager * GetInstance()
void OpenGeometry(G4VPhysicalVolume *vol=0)
G4bool CloseGeometry(G4bool pOptimise=true, G4bool verbose=false, G4VPhysicalVolume *vol=0)

Here is the call graph for this function:

Here is the caller graph for this function: