35 #ifndef __MaterialSet_h 36 #define __MaterialSet_h 69 #ifndef __gVirtualXRayConfig_h 77 #ifndef __TissueMaterial_h 200 friend std::ostream &
operator << (std::ostream& anOutputSream,
242 float m_mu_min_energy;
248 float m_mu_max_energy;
283 #endif // __MaterialSet_h unsigned int getMaterialNumber() const
Accessor on the number of materials in the set.
MaterialSet is a class to manage a table of materials.
Class to manage a table of materials.
void loadMaterialSetFromMemory()
Load the table of materials.
~MaterialSet()
Destructor.
void clearMemory()
Clear all the memory.
void addMaterial(const TissueMaterial &aMaterial)
Add a material to the list.
const TissueMaterial & getMaterial(short aHUValue) const
Get the material corresponding to a given HU value.
Class to manage a material database. It implements the method as follows: Schneider W...
float getMuMaxEnergy() const
Accessor on the higher energy cutoff for attenuation coefficient.
static MaterialSet & getInstance()
friend std::ostream & operator<<(std::ostream &anOutputSream, const MaterialSet &anMaterialSet)
operator <<
TissueMaterial is a class to manage a material.
void loadFromFile(const std::string &aFileName)
Load a file containing materials.
short getMaxHU() const
Accessor on the maximum Hounsfield unit that the material set can handle.
short getMinHU() const
Accessor on the minimum Hounsfield unit that the material set can handle.
float getMuMinEnergy() const
Accessor on the lower energy cutoff for attenuation coefficient.