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

Go to the source code of this file.

Namespaces

 pyG4Orb
 

Functions

G4OrbpyG4Orb::CreateOrb (const G4String &name, G4double pRmax)
 
void export_G4Orb ()
 

Function Documentation

void export_G4Orb ( )

Definition at line 54 of file pyG4Orb.cc.

55 {
56  class_<G4Orb, G4Orb*, bases<G4VSolid> >
57  ("G4Orb", "Orb solid class", no_init)
58  // constructors
59  .def(init<const G4String&, G4double>())
60  // ---
61  .def("GetRadius", &G4Orb::GetRadius)
62  .def("SetRadius", &G4Orb::SetRadius)
63  // operators
64  .def(self_ns::str(self))
65  ;
66 
67  // Create solid
68  def("CreateOrb", CreateOrb, return_value_policy<manage_new_object>());
69 
70 }
void SetRadius(G4double newRmax)
G4double GetRadius() const
G4Orb * CreateOrb(const G4String &name, G4double pRmax)
Definition: pyG4Orb.cc:42

Here is the call graph for this function:

Here is the caller graph for this function: