35 #ifndef __TissueMaterial_h 36 #define __TissueMaterial_h 74 #ifndef __gVirtualXRayConfig_h 142 short aMaxHUValue = 0,
231 static double getDensity(
short aHounsfieldValue);
267 double getMu(
short aHounsfieldValue,
double anEnergy)
const;
291 double getMu(
double anEnergy)
const;
302 double getS(
double x)
const;
343 friend std::ostream &
operator << (std::ostream& anOutputSream,
355 friend std::istream &
operator >> (std::istream& anInputSream,
360 void setMixture(
const std::map<int, double>& aWeightSet);
366 short m_min_HU_value;
370 short m_max_HU_value;
385 #endif // __TissueMaterial_h double getMu(short aHounsfieldValue, double anEnergy) const
TissueMaterial(short aMinHUValue=0, short aMaxHUValue=0, double H=0, double C=0, double N=0, double O=0, double Na=0, double Mg=0, double P=0, double S=0, double Cl=0, double Ar=0, double K=0, double Ca=0, double Ti=0, double Cu=0, double Zn=0, double Ag=0, double Sn=0, double Fe=0, double I=0)
Default Constructor.
short getMinHUValue() const
Accessor on the minimum HU.
double getS(double x) const
double getMolarMass() const
Accessor on the molar mass of the material.
double getLinearAttenuationTotal(short aHounsfieldValue, double anEnergy) const
short getMaxHUValue() const
Accessor on the maximum HU.
friend std::istream & operator>>(std::istream &anInputSream, TissueMaterial &aTissueMaterial)
operator <<
void clear()
Remove all the atomic elements from the material.
TissueMaterial & operator=(const TissueMaterial &aMaterial)
Copy operator.
const std::map< int, double > & getWeightSet() const
Accessor on the weight of each atomic element.
bool operator!=(const TissueMaterial &aMaterial) const
Operator !=.
void setMixture(const std::map< int, double > &aWeightSet)
void setDensity(double aDensity)
Set the density for the mixture regardless of the HU value.
double getMassAttenuationTotal(double anEnergy) const
TissueMaterial is a class to manage a material.
Class to manage a material database. It implements the method as follows: Schneider W...
static double getDensity(short aHounsfieldValue)
Get the density for a given material (in HU).
bool operator==(const TissueMaterial &aMaterial) const
Operator ==.
Mixture is a class to manage a mixture (e.g. Ti90Al6V4).
Class to manage a mixture (e.g. Ti90Al6V4).
friend std::ostream & operator<<(std::ostream &anOutputSream, const TissueMaterial &aTissueMaterial)
operator <<