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

Go to the source code of this file.

Namespaces

 pyG4EllipticalTube
 

Functions

G4EllipticalTubepyG4EllipticalTube::CreateEllipticalTube (const G4String &name, G4double theDx, G4double theDy, G4double theDz)
 
void export_G4EllipticalTube ()
 

Function Documentation

void export_G4EllipticalTube ( )

Definition at line 57 of file pyG4EllipticalTube.cc.

58 {
59  class_<G4EllipticalTube, G4EllipticalTube*, bases<G4VSolid> >
60  ("G4EllipticalTube", "elliptical tube solid class", no_init)
61  // constructors
62  .def(init<const G4String&, G4double, G4double, G4double>())
63  // ---
64  .def("GetDx", &G4EllipticalTube::GetDx)
65  .def("GetDy", &G4EllipticalTube::GetDy)
66  .def("GetDz", &G4EllipticalTube::GetDz)
67  .def("SetDx", &G4EllipticalTube::SetDx)
68  .def("SetDy", &G4EllipticalTube::SetDy)
69  .def("SetDz", &G4EllipticalTube::SetDz)
70 
71  // operators
72  .def(self_ns::str(self))
73  ;
74 
75  // Create solid
76  def("CreateEllipticalTube", CreateEllipticalTube,
77  return_value_policy<manage_new_object>());
78 
79 }
G4double GetDy() const
void SetDy(const G4double newDy)
G4double GetDz() const
void SetDz(const G4double newDz)
void SetDx(const G4double newDx)
G4double GetDx() const
G4EllipticalTube * CreateEllipticalTube(const G4String &name, G4double theDx, G4double theDy, G4double theDz)

Here is the call graph for this function:

Here is the caller graph for this function: