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

Go to the source code of this file.

Namespaces

 pyG4PVPlacement
 

Functions

void export_G4PVPlacement ()
 

Function Documentation

void export_G4PVPlacement ( )

Definition at line 54 of file pyG4PVPlacement.cc.

55 {
56  class_<G4PVPlacement, G4PVPlacement*, bases<G4VPhysicalVolume>,
57  boost::noncopyable >
58  ("G4PVPlacement", "physical volume placement", no_init)
59  // ---
60  .def(init<G4RotationMatrix*, const G4ThreeVector&,
61  G4LogicalVolume*, const G4String&,
63  .def(init<const G4Transform3D&, G4LogicalVolume*,
64  const G4String&, G4LogicalVolume*, G4bool, G4int>())
65  .def(init<G4RotationMatrix*, const G4ThreeVector&,
66  const G4String, G4LogicalVolume*,
68  .def(init<const G4Transform3D&, const G4String&,
70 #if G4VERSION_NUMBER >=800
71  .def(init<G4RotationMatrix*, const G4ThreeVector&,
72  G4LogicalVolume*, const G4String&,
74  .def(init<const G4Transform3D&, G4LogicalVolume*,
76  .def(init<G4RotationMatrix*, const G4ThreeVector&,
77  const G4String, G4LogicalVolume*,
79  .def(init<const G4Transform3D&, const G4String&,
81 #endif
82  // ---
83 #if G4VERSION_NUMBER >=800
84  .def("CheckOverlaps", &G4PVPlacement::CheckOverlaps, f_CheckOverlaps())
85 #endif
86  ;
87 }
int G4int
Definition: G4Types.hh:78
bool G4bool
Definition: G4Types.hh:79
#define G4VERSION_NUMBER
Definition: G4Version.hh:49
G4bool CheckOverlaps(G4int res=1000, G4double tol=0., G4bool verbose=true, G4int maxErr=1)

Here is the call graph for this function:

Here is the caller graph for this function: