Material::Air class reference
[Core module]
Declaration
#include <Goptical/Material/Air>
namespace Goptical {
namespace Material {
template <enum AirFormula M> class Air;
};
};
This class is a member of the Material namespace.
Inheritance
Description
This class models optical properties of air. Refractive index of air depends on temperature and pressure.
This class provides different formulas:
AirBirch94 : described in "Birch, Metrologia, 1994, 31, 315".
AirKohlrausch68 : described in "F. Kohlrausch, Praktische Physik, 1968, 1, 408".
Global variables air and std_air are available with default parameters and Birch model.
Members
See also the full member list section for this class.
Inherited members
- 14 members inherited from Base
Functions
- Air(double pressure = [...])
- virtual double get_extinction_coef(double wavelen) const
- virtual double get_internal_transmittance(double wavelen, double thickness) const
- double get_pressure() const
- virtual double get_refractive_index(double wavelen) const
- virtual bool is_opaque() const
- virtual bool is_reflecting() const
- void set_pressure(double pressure)
Constant
- static const double std_pressure
Members detail
Create a new air material model with 101325 Pa pressure.
This virtual function overrides the get_extinction_coef
virtual function defined in the Base
base abstract class.
Documentation inherited from base class:
Get extinction coefficient. Subclasses _must_ provide this function or the get_internal_transmittance() function.
This virtual function overrides the get_internal_transmittance
virtual function defined in the Base
base abstract class.
Documentation inherited from base class:
Get material internal transmittance for thickness in mm. Subclasses _must_ provide this function or the get_extinction_coef() function.
Get relative air pressure in Pa.
See also set_pressure function and std_pressure variable.
This virtual function implements the get_refractive_index
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Get material absolute refractive index at specified wavelen in nm.
This virtual function implements the is_opaque
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Return true if material must be considered opaque for ray tracing
This virtual function implements the is_reflecting
pure function declared in the Base
base abstract class.
Documentation inherited from base class:
Return true if material may reflect most of the light and must be considered as a mirror when ignoring ray intensity computation during ray tracing.
Set relative air pressure in Pa.
See also get_pressure function and std_pressure variable.
Standard air pressure is 101325 Pa