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

Go to the source code of this file.

Namespaces

 pyG4Para
 

Functions

G4ParapyG4Para::CreatePara (const G4String &name, G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
 
void export_G4Para ()
 

Function Documentation

void export_G4Para ( )

Definition at line 56 of file pyG4Para.cc.

57 {
58  class_<G4Para, G4Para*, bases<G4VSolid> >
59  ("G4Para", "Skewed box sold class", no_init)
60  // constructors
61  .def(init<const G4String&, G4double, G4double, G4double,
63  // ---
64  .def("GetZHalfLength", &G4Para::GetZHalfLength)
65  .def("GetSymAxis", &G4Para::GetSymAxis)
66  .def("GetYHalfLength", &G4Para::GetYHalfLength)
67  .def("GetXHalfLength", &G4Para::GetXHalfLength)
68  .def("GetTanAlpha", &G4Para::GetTanAlpha)
69  .def("SetXHalfLength", &G4Para::SetXHalfLength)
70  .def("SetYHalfLength", &G4Para::SetYHalfLength)
71  .def("SetZHalfLength", &G4Para::SetZHalfLength)
72  .def("SetAlpha", &G4Para::SetAlpha)
73  .def("SetTanAlpha", &G4Para::SetTanAlpha)
74  .def("SetThetaAndPhi", &G4Para::SetThetaAndPhi)
75  .def("SetAllParameters", &G4Para::SetAllParameters)
76  // operators
77  .def(self_ns::str(self))
78  ;
79 
80  // Create solid
81  def("CreatePara", CreatePara, return_value_policy<manage_new_object>());
82 }
G4ThreeVector GetSymAxis() const
void SetXHalfLength(G4double val)
void SetAlpha(G4double alpha)
void SetAllParameters(G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
Definition: G4Para.cc:74
void SetThetaAndPhi(double pTheta, double pPhi)
void SetZHalfLength(G4double val)
void SetYHalfLength(G4double val)
G4double GetXHalfLength() const
void SetTanAlpha(G4double val)
G4double GetTanAlpha() const
G4double GetZHalfLength() const
G4Para * CreatePara(const G4String &name, G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
Definition: pyG4Para.cc:42
double G4double
Definition: G4Types.hh:76
G4double GetYHalfLength() const

Here is the call graph for this function:

Here is the caller graph for this function: