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

Go to the source code of this file.

Namespaces

 pyG4Hype
 

Functions

G4HypepyG4Hype::CreateHype (const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)
 
void export_G4Hype ()
 

Function Documentation

void export_G4Hype ( )

Definition at line 62 of file pyG4Hype.cc.

63 {
64  class_<G4Hype, G4Hype*, bases<G4VSolid> >
65  ("G4Hype", "hyperbolic solid class", no_init)
66  // constructors
67  .def(init<const G4String&, G4double, G4double, G4double,
68  G4double, G4double>())
69  // ---
70  .def("GetInnerRadius", &G4Hype::GetInnerRadius)
71  .def("GetOuterRadius", &G4Hype::GetOuterRadius)
72  .def("GetZHalfLength", &G4Hype::GetZHalfLength)
73  .def("GetInnerStereo", &G4Hype::GetInnerStereo)
74  .def("GetOuterStereo", &G4Hype::GetOuterStereo)
75  .def("SetInnerRadius", &G4Hype::SetInnerRadius)
76  .def("SetOuterRadius", &G4Hype::SetOuterRadius)
77  .def("SetZHalfLength", &G4Hype::SetZHalfLength)
78  .def("SetInnerStereo", &G4Hype::SetInnerStereo)
79  .def("SetOuterStereo", &G4Hype::SetOuterStereo)
80  // operators
81  .def(self_ns::str(self))
82  ;
83 
84  // Create solid
85  def("CreateHype", CreateHype, return_value_policy<manage_new_object>());
86 
87 }
G4double GetOuterStereo() const
G4double GetInnerStereo() const
G4double GetInnerRadius() const
G4Hype * CreateHype(const G4String &name, G4double newInnerRadius, G4double newOuterRadius, G4double newInnerStereo, G4double newOuterStereo, G4double newHalfLenZ)
Definition: pyG4Hype.cc:42
void SetOuterRadius(G4double newORad)
void SetInnerRadius(G4double newIRad)
G4double GetOuterRadius() const
void SetZHalfLength(G4double newHLZ)
G4double GetZHalfLength() const
void SetOuterStereo(G4double newOSte)
double G4double
Definition: G4Types.hh:76
void SetInnerStereo(G4double newISte)

Here is the call graph for this function:

Here is the caller graph for this function: