#include <LightSource.h>
List of all members.
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
| pDistTarget | this distribution calculates where on the surface the wave packet is generated. this distribution should return a V3<double>. |
| pDistDirection | this distribution calculates what the direction wave packets will have when generated. this distribution should return a V3<double>. |
| rOrigin | a vector<float> containing theta, phi and distance of the light source. |
| polVal | 1 if the lightsource emits polarized light 0 if not. |
| polarizationValue | the polarization of the light source. |
| noOfWp | the number of wave packets. |
| rLambdas | the wavelengths of the light source. |
| rLambdaWeights | weights for wavelengths. These will be normalized. |
| LightSource::~LightSource |
( |
| ) |
[virtual] |
| LightSource::LightSource |
( |
| ) |
|
Member Function Documentation
| int LightSource::GetNumber |
( |
| ) |
[inline] |
| int LightSource::Process |
( |
WavePacket & |
wp, |
|
|
float |
lam |
|
) |
| [virtual] |
Generates the wave packet according to light source distribution. Initialise wp's position, direction, polarisation, and relative energy.
- Parameters:
-
| wp | Wave pascket to be intialised |
| lam | Wavelength to be simulated |
Member Data Documentation
The documentation for this class was generated from the following files: