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  

Constant  

Members detail  

Air(double pressure = std_pressure)  

Create a new air material model with 101325 Pa pressure.

virtual double get_extinction_coef(double wavelen) const  

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.

virtual double get_internal_transmittance(double wavelen, double thickness) const  

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.

double get_pressure() const  

Get relative air pressure in Pa.

See also set_pressure function and std_pressure variable.

virtual double get_refractive_index(double wavelen) const  

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.

virtual bool is_opaque() const  

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

virtual bool is_reflecting() const  

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.

void set_pressure(double pressure)  

Set relative air pressure in Pa.

See also get_pressure function and std_pressure variable.

static const double std_pressure  

Standard air pressure is 101325 Pa

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc