32 #include <boost/python.hpp>
45 using namespace boost::python;
50 namespace pyG4LogicalVolume {
67 using namespace pyG4LogicalVolume;
74 class_<G4LogicalVolume, G4LogicalVolume*, boost::noncopyable>
75 (
"G4LogicalVolume",
"logical volume class", no_init)
77 .def(init<G4VSolid*, G4Material*, const G4String& >())
90 return_value_policy<reference_existing_object>())
95 return_internal_reference<>())
104 return_internal_reference<>())
107 return_internal_reference<>())
113 return_internal_reference<>())
116 return_internal_reference<>())
119 return_internal_reference<>())
123 return_internal_reference<>())
135 return_internal_reference<>())
138 return_internal_reference<>())
142 return_internal_reference<>())
146 .def(
"GetFastSimulationManager",
148 return_internal_reference<>())
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void SetName(const G4String &pName)
void SetBiasWeight(G4double w)
void(G4LogicalVolume::* f1_SetVisAttributes)(const G4VisAttributes *)
G4VSensitiveDetector * GetSensitiveDetector() const
G4SmartVoxelHeader * GetVoxelHeader() const
G4int GetNoDaughters() const
void SetFieldManager(G4FieldManager *pFieldMgr, G4bool forceToAllDaughters)
void UpdateMaterial(G4Material *pMaterial)
G4FastSimulationManager * GetFastSimulationManager() const
G4Material * GetMaterial() const
G4VSolid *(G4LogicalVolume::* f1_GetSolid)() const
G4bool IsDaughter(const G4VPhysicalVolume *p) const
void(G4LogicalVolume::* f2_SetVisAttributes)(const G4VisAttributes &)
void SetVoxelHeader(G4SmartVoxelHeader *pVoxel)
G4double GetBiasWeight() const
void SetSmartless(G4double s)
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
void SetSolid(G4VSolid *pSolid)
void SetOptimisation(G4bool optim)
void RemoveDaughter(const G4VPhysicalVolume *p)
G4bool IsToOptimise() const
void SetMaterialCutsCouple(G4MaterialCutsCouple *cuts)
void AddDaughter(G4VPhysicalVolume *p)
const G4VisAttributes * GetVisAttributes() const
void SetVisAttributes(const G4VisAttributes *pVA)
void SetRegion(G4Region *reg)
G4bool IsRootRegion() const
G4bool IsAncestor(const G4VPhysicalVolume *p) const
void SetUserLimits(G4UserLimits *pULimits)
void(G4LogicalVolume::* f1_SetSolid)(G4VSolid *)
G4double GetSmartless() const
void SetRegionRootFlag(G4bool rreg)
G4FieldManager * GetFieldManager() const
void SetMaterial(G4Material *pMaterial)
G4VSolid * GetSolid() const
G4UserLimits * GetUserLimits() const
void export_G4LogicalVolume()
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
G4Region * GetRegion() const
G4double GetMass(G4bool forced=false, G4bool propagate=true, G4Material *parMaterial=0)
G4int TotalVolumeEntities() const
G4VPhysicalVolume * GetDaughter(const G4int i) const
const G4String & GetName() const
void SetSensitiveDetector(G4VSensitiveDetector *pSDetector)