Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4Navigator.cc File Reference
#include <boost/python.hpp>
#include "G4Navigator.hh"

Go to the source code of this file.

Functions

void export_G4Navigator ()
 

Function Documentation

void export_G4Navigator ( )

Definition at line 42 of file pyG4Navigator.cc.

References G4Navigator::GetVerboseLevel(), G4Navigator::GetWorldVolume(), G4Navigator::IsActive(), G4Navigator::PrintState(), and G4Navigator::SetVerboseLevel().

Referenced by BOOST_PYTHON_MODULE().

43 {
44  class_<G4Navigator, G4Navigator*, boost::noncopyable>
45  ("G4Navigator", "navigator")
46  // ---
47  .def("GetWorldVolume", &G4Navigator::GetWorldVolume,
48  return_value_policy<reference_existing_object>())
49  .def("GetVerboseLevel", &G4Navigator::GetVerboseLevel)
50  .def("SetVerboseLevel", &G4Navigator::SetVerboseLevel)
51  .def("IsActive", &G4Navigator::IsActive)
52  .def("PrintState", &G4Navigator::PrintState)
53  ;
54 }
G4int GetVerboseLevel() const
G4bool IsActive() const
void PrintState() const
void SetVerboseLevel(G4int level)
G4VPhysicalVolume * GetWorldVolume() const