![]() |
gVirtualXRay
2.0.10
VirtualX-RayImagingLibraryonGPU
|
AtomicElement is a class to manage elements in material. More...
#include <AtomicElement.h>
Public Member Functions | |
AtomicElement (const std::string &aName="", const std::string &aSymbol="", unsigned short aZNumber=0, double aMolarMass=0, double aDensity=0, const std::string &aState="") | |
Default Constructor. More... | |
AtomicElement (const AtomicElement &anElement) | |
Copy Constructor. More... | |
~AtomicElement () | |
Destructor. More... | |
void | setName (const std::string &aName) |
Set the name of the element. More... | |
void | setSymbol (const std::string &aSymbol) |
Set the symbol of the element. More... | |
void | setAtomicNumber (unsigned short aZNumber) |
Set the atomic number (Z) of the element. More... | |
void | setMolarMass (double aMolarMass) |
Set the molar mass of the element. More... | |
void | setDensity (double aDensity) |
Set the density of the element. More... | |
void | setState (const std::string &aState) |
Set the state of the element. More... | |
double | getMassAttenuationTotal (double anEnergy) |
double | getMU (double anEnergy) |
const std::string & | getName () const |
Accessor on the name of the element. More... | |
const std::string & | getSymbol () const |
Accessor on the symbol of the element. More... | |
unsigned short | getAtomicNumber () const |
Accessor on the atomic number (Z) of the element. More... | |
unsigned short | getZ () const |
Accessor on the atomic number (Z) of the element. More... | |
unsigned short | Z () const |
Accessor on the atomic number (Z) of the element. More... | |
double | getMolarMass () const |
Accessor on the molar mass of the element. More... | |
double | getDensity () const |
Accessor on the density of the element. More... | |
const std::string & | getState () const |
Accessor on the state of the element. More... | |
unsigned int | getEnergyChannelNumber () const |
double | getSmallestEnergyStep () const |
AtomicElement & | operator= (const AtomicElement &anElement) |
Copy operator. More... | |
double | getEnergyChannel (unsigned int i) const |
double | getMassAttenuationCoefficientChannel (unsigned int i) const |
void | printSummary () const |
Protected Attributes | |
std::string | m_name |
The name of the element. More... | |
std::string | m_symbol |
The symbol of the element. More... | |
unsigned short | m_atomic_number |
The atomic number of the element. More... | |
double | m_molar_mass |
The molar mass of the element. More... | |
double | m_density |
The density of the element. More... | |
std::string | m_state |
The state of the element. More... | |
std::vector< double > | m_p_energy_set |
The energy set. More... | |
std::vector< double > | m_p_mass_attenuation_coefficient_set |
The mass attenuation coefficient set corresponding to the energy set. More... | |
AtomicElement is a class to manage elements in material.
Definition at line 133 of file AtomicElement.h.
|
inline |
Default Constructor.
Definition at line 84 of file AtomicElement.inl.
|
inline |
Copy Constructor.
Definition at line 103 of file AtomicElement.inl.
|
inline |
Destructor.
Definition at line 125 of file AtomicElement.inl.
|
inline |
Accessor on the atomic number (Z) of the element.
Definition at line 212 of file AtomicElement.inl.
|
inline |
Accessor on the density of the element.
Definition at line 244 of file AtomicElement.inl.
|
inline |
Definition at line 291 of file AtomicElement.inl.
|
inline |
Accessor on the number of energy channels in the attenuation coefficient list.
Definition at line 260 of file AtomicElement.inl.
|
inline |
Definition at line 302 of file AtomicElement.inl.
|
inline |
Get the mass attenuation coefficient at a given energy (values are interpolated).
Definition at line 188 of file AtomicElement.inl.
|
inline |
Accessor on the molar mass of the element.
Definition at line 236 of file AtomicElement.inl.
|
inline |
Get the linear attenuation coefficient at a given energy (in mm-1) (values are interpolated).
Definition at line 180 of file AtomicElement.inl.
|
inline |
Accessor on the name of the element.
Definition at line 196 of file AtomicElement.inl.
double gVirtualXRay::AtomicElement::getSmallestEnergyStep | ( | ) | const |
Accessor on the smallest energy step in the linear attenuation coefficient list.
|
inline |
Accessor on the state of the element.
Definition at line 252 of file AtomicElement.inl.
|
inline |
Accessor on the symbol of the element.
Definition at line 204 of file AtomicElement.inl.
|
inline |
Accessor on the atomic number (Z) of the element.
Definition at line 220 of file AtomicElement.inl.
|
inline |
Copy operator.
Definition at line 268 of file AtomicElement.inl.
void gVirtualXRay::AtomicElement::printSummary | ( | ) | const |
|
inline |
Set the atomic number (Z) of the element.
Definition at line 148 of file AtomicElement.inl.
|
inline |
Set the density of the element.
Definition at line 164 of file AtomicElement.inl.
|
inline |
Set the molar mass of the element.
Definition at line 156 of file AtomicElement.inl.
|
inline |
Set the name of the element.
Definition at line 132 of file AtomicElement.inl.
|
inline |
Set the state of the element.
Definition at line 172 of file AtomicElement.inl.
|
inline |
Set the symbol of the element.
Definition at line 140 of file AtomicElement.inl.
|
inline |
Accessor on the atomic number (Z) of the element.
Definition at line 228 of file AtomicElement.inl.
|
protected |
The atomic number of the element.
Definition at line 360 of file AtomicElement.h.
|
protected |
The density of the element.
Definition at line 362 of file AtomicElement.h.
|
protected |
The molar mass of the element.
Definition at line 361 of file AtomicElement.h.
|
protected |
The name of the element.
Definition at line 358 of file AtomicElement.h.
|
protected |
The energy set.
Definition at line 366 of file AtomicElement.h.
|
protected |
The mass attenuation coefficient set corresponding to the energy set.
Definition at line 369 of file AtomicElement.h.
|
protected |
The state of the element.
Definition at line 363 of file AtomicElement.h.
|
protected |
The symbol of the element.
Definition at line 359 of file AtomicElement.h.