34 #include "G4VPhysicalVolume.hh" 44 (G4double ddx, G4double ddy, G4double ddz, G4int nx, G4int ny, G4int nz)
45 : voxelSize(ddx, ddy, ddz), motherSize(ddx*nx, ddy*ny, ddz*nz)
63 (
const G4int copyNo, G4VPhysicalVolume* physVol)
const 69 G4int ixy= copyNo - iz*nxy;
70 G4int iy= ixy/nvoxels[0];
71 G4int ix= ixy-iy*nvoxels[0];
78 physVol-> SetTranslation(G4ThreeVector(px, py, pz));
85 (G4Box& aBox,
const G4int copyNo,
const G4VPhysicalVolume* physVol)
const
virtual void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
~G4EzVoxelParameterization()
virtual void ComputeDimensions(G4Box &aBox, const G4int copyNo, const G4VPhysicalVolume *physVol) const
G4EzVoxelParameterization(G4double ddx, G4double ddy, G4double ddz, G4int nx, G4int ny, G4int nz)