32 #ifndef DICOMNESTEDPARAMETERISATION_HH
33 #define DICOMNESTEDPARAMETERISATION_HH
71 std::vector<G4Material*>& mat,
86 unsigned int GetMaterialIndex(
unsigned int nx,
unsigned int ny,
unsigned int nz)
const;
89 void SetNoVoxel(
unsigned int nx,
unsigned int ny,
unsigned int nz );
127 void ReadColourData();
135 std::vector<G4Material*> fMaterials;
136 size_t* fMaterialIndices;
137 std::map<G4String,G4VisAttributes*> fColours;
138 std::vector<G4double> fpZ;
virtual G4Material * ComputeMaterial(G4VPhysicalVolume *currentVol, const G4int repNo, const G4VTouchable *parentTouch=0)=0
void ComputeDimensions(G4Box &, const G4int, const G4VPhysicalVolume *) const
void ComputeTransformation(const G4int no, G4VPhysicalVolume *currentPV) const
unsigned int GetMaterialIndex(unsigned int nx, unsigned int ny, unsigned int nz) const
void SetMaterialIndices(size_t *matInd)
void SetNoVoxel(unsigned int nx, unsigned int ny, unsigned int nz)
G4int GetNumberOfMaterials() const
DicomNestedPhantomParameterisation(const G4ThreeVector &voxelSize, std::vector< G4Material * > &mat, G4int fnZ_=0, G4int fnY_=0, G4int fnX_=0)
~DicomNestedPhantomParameterisation()
G4Material * ComputeMaterial(G4VPhysicalVolume *currentVol, const G4int repNo, const G4VTouchable *parentTouch)
Implements a G4VNestedParameterisation.
G4Material * GetMaterial(G4int idx) const