|
Open PaperOpt
|
#include <HomogeneousLayer.h>


Public Member Functions | |
| HomogeneousLayer () | |
| ~HomogeneousLayer () | |
| HomogeneousLayer (ScatteringParameters *sp, float xmax, float ymax, StructureObject *prevStructureObject, std::vector< float > &rLambda, Fluorescence *fluor) | |
| HomogeneousLayer (StructureObject *prevStructureObject, float xmax, float ymax, complex_LC refrIndex, int nrLambda) | |
| virtual int | Process (WavePacket &wp, int up_down, int internal) const |
| complex_LC | mGetRefrIndex (int nbr_lambda) const |
Protected Attributes | |
| HomogeneousScatteringMaterial * | mHomogeneousScatteringMaterial |
This class represents a homogenous turbid layer.
| HomogeneousLayer::HomogeneousLayer | ( | ) |
| HomogeneousLayer::~HomogeneousLayer | ( | ) |
| HomogeneousLayer::HomogeneousLayer | ( | ScatteringParameters * | sp, |
| float | xmax, | ||
| float | ymax, | ||
| StructureObject * | prevStructureObject, | ||
| std::vector< float > & | rLambda, | ||
| Fluorescence * | fluor | ||
| ) |
Constructor.
| sp | pointer to the scattering parameters for this homogeneous layer, these are interpolated before being passed to constructor. |
| xmax | size of the simulation volume in the x direction. |
| ymax | size of the simulation volume in the y direction. |
| prevPO | pointer to the previous paper object. |
| rLambda | the simulation wavelengths. |
| fluor | pointer to a fluorescence object containing a preinterpolated fluorescence matrix. |

| HomogeneousLayer::HomogeneousLayer | ( | StructureObject * | prevStructureObject, |
| float | xmax, | ||
| float | ymax, | ||
| complex_LC | refrIndex, | ||
| int | nrLambda | ||
| ) |
Simple constructor for materials without scattering properties other than a refractive index. Typically media over and below simulation volume
| refrIndex | the refractive index of the material. |
| nrLambda | the number of wavelengths to be simulated. |
| xmax | size of the simulation volume in the x direction. |
| ymax | size of the simulation volume in the y direction. |
| prevStructureObject | pointer to the previous paper object. |
With this constructor, only the refractive index is set The s, k, and g are not initialised
| complex_LC HomogeneousLayer::mGetRefrIndex | ( | int | nbr | ) | const [virtual] |
Fetch the effective refractive index of a layer
| nbr | wavelength # of the simulated wave packet |
Reimplemented from StructureObject.
| int HomogeneousLayer::Process | ( | WavePacket & | wp, |
| int | up_down, | ||
| int | internal | ||
| ) | const [virtual] |
Process the wp within the object overwritten by child objects
HomogeneousLayer is made of a single component Call its Process method
Implements StructureObject.

Pointer to the layer's only component