|
Open PaperOpt
|
#include <HomogeneousLayer.h>


Public Member Functions | |
| thinFilm () | |
| ~thinFilm () | |
| thinFilm (ScatteringParameters *sp, StructureObject *prevStructureObject, std::vector< float > &rLambda) | |
| virtual int | Process (WavePacket &wp, int up_down, int internal) const |
Protected Attributes | |
| float | mThickness |
This class represents a thin film interference Wave packets are returned according to snell's law in reflection and same direction in transmittance refractive index thickness
| thinFilm::thinFilm | ( | ) |
| thinFilm::~thinFilm | ( | ) |
| thinFilm::thinFilm | ( | ScatteringParameters * | sp, |
| StructureObject * | prevStructureObject, | ||
| std::vector< float > & | rLambda | ||
| ) |
Constructor
| refrIndex | refrcative index of the thin film |
| prevStructureObject | pointer to the previous paper object. |
| rLambda | the simulated wavelengths. |
Set object type so that no surface scattering at layer boundary is performed

| int thinFilm::Process | ( | WavePacket & | wp, |
| int | up_down, | ||
| int | internal | ||
| ) | const [virtual] |
Picks the wavelength of the wave packet and interpolate transmittance/reflectance for the incident angle onto the layer
| wp | the wave packet |
| up_down | 1 if wp going up, -1 if wp going down |
| internal | tells if the wave packet should start within layer or if layer boundary should be applied first. |
Calculate reflectance and transmittance
If reflected apply specular reflection return 1 ( going up), -1 (going down)
If transmitted, move the wp downward to the film surface
Implements StructureObject.

float thinFilm::mThickness [protected] |