115 {
116
117 class_<G4EzVolume>("G4EzVolume", "an easy way of geometry configuration")
118 .def(init<const G4String&>())
119
122 f_CreateTubeVolume())
124 f_CreateConeVolume())
126 f_CreateSphereVolume())
128
131 return_value_policy<reference_existing_object>())
134 return_value_policy<reference_existing_object>())
135
136 .def("PlaceIt", f1_PlaceIt,
137 f_PlaceIt()[return_value_policy<reference_existing_object>()])
139 f_PlaceIt()[return_value_policy<reference_existing_object>()])
141 f_ReplicateIt()[return_value_policy<reference_existing_object>()])
143
145
149 ;
150
151
157
158}
void CreateSphereVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double phi0=0., G4double dphi=360.*deg, G4double theta0=0., G4double dtheta=180.*deg)
void CreateConeVolume(G4Material *amaterial, G4double rmin1, G4double rmax1, G4double rmin2, G4double rmax2, G4double dz, G4double phi0=0., G4double dphi=360.*deg)
const G4VSolid * GetSolid() const
void SetSolid(G4VSolid *asolid)
G4Material * GetMaterial() const
void SetMaterial(G4Material *amaterial)
void CreateTubeVolume(G4Material *amaterial, G4double rmin, G4double rmax, G4double dz, G4double phi0=0., G4double dphi=360 *deg)
void CreateOrbVolume(G4Material *amaterial, G4double rmax)
void SetSensitiveDetector(G4VSensitiveDetector *asd)
G4VPhysicalVolume * ReplicateIt(G4EzVolume *parent, EAxis pAxis, G4int nReplicas, G4double width, G4double offset=0)
void CreateBoxVolume(G4Material *amaterial, G4double dx, G4double dy, G4double dz)
G4ThreeVector VoxelizeIt(G4int nx, G4int ny, G4int nz)
void SetVisibility(G4bool qvisible)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateSphereVolume, CreateSphereVolume, 3, 7) G4VPhysicalVolume *(G4EzVolume G4VPhysicalVolume *(G4EzVolume::* f2_PlaceIt)(const G4Transform3D &, G4int, G4EzVolume *)
void ResizeWorld(G4double dx, G4double dy, G4double dz)
void(G4EzVolume::* f1_SetColor)(const G4Color &)
void ResetWorld(G4double dx, G4double dy, G4double dz)
void SetWorldVisibility(G4bool qvis)
void SetWorldMaterial(G4Material *amaterial)
void(G4EzVolume::* f2_SetColor)(G4double, G4double, G4double)