69 inline MaterialSet::MaterialSet():
95 m_material_set.clear();
103 return (m_mu_min_energy);
111 return (m_mu_max_energy);
131 return (m_material_set.size());
140 for (std::map<std::pair<short, short>,
TissueMaterial>::const_iterator ite(aMaterialSet.m_material_set.begin());
141 ite != aMaterialSet.m_material_set.end();
144 anOutputSream << ite->second << std::endl;
147 return (anOutputSream);
unsigned int getMaterialNumber() const
Accessor on the number of materials in the set.
MaterialSet is a class to manage a table of materials.
void loadMaterialSetFromMemory()
Load the table of materials.
~MaterialSet()
Destructor.
void clearMemory()
Clear all the memory.
float getMuMaxEnergy() const
Accessor on the higher energy cutoff for attenuation coefficient.
TissueMaterial is a class to manage a material.
std::ostream & operator<<(std::ostream &anOutputSream, const gVirtualXRay::AtomicElement &anElement)
operator <<
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.