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

Go to the source code of this file.

Namespaces

 pyG4VPhysicalVolume
 

Functions

void export_G4VPhysicalVolume ()
 

Variables

const G4RotationMatrix
*(G4VPhysicalVolume::* 
pyG4VPhysicalVolume::f1_GetRotation )() const = &G4VPhysicalVolume::GetRotation
 
G4RotationMatrix
*(G4VPhysicalVolume::* 
pyG4VPhysicalVolume::f2_GetRotation )() = &G4VPhysicalVolume::GetRotation
 

Function Documentation

void export_G4VPhysicalVolume ( )

Definition at line 58 of file pyG4VPhysicalVolume.cc.

59 {
60  class_<G4VPhysicalVolume, G4VPhysicalVolume*, boost::noncopyable>
61  ("G4VPhysicalVolume", "physical volume class", no_init)
62  // ---
63  .def("SetTranslation", &G4VPhysicalVolume::SetTranslation)
64  .def("GetTranslation", &G4VPhysicalVolume::GetTranslation,
65  return_internal_reference<>())
66  .def("GetObjectTranslation", &G4VPhysicalVolume::GetObjectTranslation)
67  .def("GetFrameTranslation", &G4VPhysicalVolume::GetObjectTranslation)
68  // ---
69  .def("SetRotation", &G4VPhysicalVolume::SetRotation)
70  .def("GetRotation", f1_GetRotation,
71  return_internal_reference<>())
72  .def("GetRotation", f2_GetRotation,
73  return_internal_reference<>())
74  .def("GetObjectRotationValue", &G4VPhysicalVolume::GetObjectRotationValue)
75  .def("GetFrameRotation", &G4VPhysicalVolume::GetFrameRotation,
76  return_internal_reference<>())
77  // ---
78  .def("SetLogicalVolume", &G4VPhysicalVolume::SetLogicalVolume)
79  .def("SetMotherLogical", &G4VPhysicalVolume::SetMotherLogical)
80  .def("GetLogicalVolume", &G4VPhysicalVolume::GetLogicalVolume,
81  return_internal_reference<>())
82  .def("GetMotherLogical", &G4VPhysicalVolume::GetMotherLogical,
83  return_internal_reference<>())
84  // ---
85  .def("SetName", &G4VPhysicalVolume::SetName)
86 #if G4VERSION_NUMBER <= 801
87  .def("GetName", &G4VPhysicalVolume::GetName)
88 #else
89  .def("GetName", &G4VPhysicalVolume::GetName,
90  return_value_policy<return_by_value>())
91 #endif
92  .def("SetCopyNo", &G4VPhysicalVolume::SetCopyNo)
93  .def("GetCopyNo", &G4VPhysicalVolume::GetCopyNo)
94  // ---
95  .def("IsMany", &G4VPhysicalVolume::IsMany)
96  .def("IsReplicated", &G4VPhysicalVolume::IsReplicated)
97  .def("IsParameterised", &G4VPhysicalVolume::IsParameterised)
98  .def("GetMultiplicity", &G4VPhysicalVolume::GetMultiplicity)
99  .def("GetParameterisation", &G4VPhysicalVolume::GetParameterisation,
100  return_value_policy<reference_existing_object>())
101  ;
102 }
const G4RotationMatrix *(G4VPhysicalVolume::* f1_GetRotation)() const
virtual G4bool IsReplicated() const =0
void SetName(const G4String &pName)
void SetRotation(G4RotationMatrix *)
const G4String & GetName() const
virtual G4bool IsMany() const =0
virtual G4VPVParameterisation * GetParameterisation() const =0
virtual void SetCopyNo(G4int CopyNo)=0
G4RotationMatrix GetObjectRotationValue() const
void SetTranslation(const G4ThreeVector &v)
G4LogicalVolume * GetMotherLogical() const
virtual G4bool IsParameterised() const =0
const G4ThreeVector & GetTranslation() const
const G4RotationMatrix * GetFrameRotation() const
G4LogicalVolume * GetLogicalVolume() const
virtual G4int GetCopyNo() const =0
virtual G4int GetMultiplicity() const
void SetMotherLogical(G4LogicalVolume *pMother)
G4ThreeVector GetObjectTranslation() const
G4RotationMatrix *(G4VPhysicalVolume::* f2_GetRotation)()
void SetLogicalVolume(G4LogicalVolume *pLogical)

Here is the call graph for this function:

Here is the caller graph for this function: