Light::SpectralLine class reference
[Core module]
Declaration
#include <Goptical/Light/SpectralLine>
namespace Goptical {
namespace Light {
class SpectralLine;
};
};
This class is a member of the Light namespace.
Description
This class can be used to describe a spectral line. It contains constants for wave length of standard rays
Members
See also the full member list section for this class.
Functions
- SpectralLine(double wavelen, double intensity = [...])
- Io::Rgb get_color() const
- double get_intensity() const
- double get_wavelen() const
Static function
- static Io::Rgb get_wavelen_color(double wl)
Constants
- static const double C
- static const double C_
- static const double D
- static const double F
- static const double F_
- static const double blue
- static const double d
- static const double e
- static const double g
- static const double green
- static const double h
- static const double i
- static const double r
- static const double red
- static const double s
- static const double t
Members detail
Create a spectral line with specified wavelen and intensity.
red hydrogen line at 656.2725nm
red cadmium line at 643.8469nm
yellow sodium line at 589.2938nm
blue hydrogen line at 486.1327nm
blue cadmium line at 479.9914nm
blue colored line at 440nm
yellow helium line at 587.5618nm
green mercury line at 546.074nm
blue mercury line at 435.8343nm
Io::Rgb get_color() const
get rgb color associated spectral line, ignore intensity
get spectral line intensity
get spectral line wavelen
static Io::Rgb get_wavelen_color(double wl)
get rgb color associated with wavelen
green colored line at 510nm
violet mercury line at 404.6561nm
ultraviolet mercury line at 365.0146nm
red helium line at 706.5188nm
red colored line at 645nm
infrared cesium line at 852.11nm
infrared mercury line at 1013.98nm