#include <DetectorImage.h>
List of all members.
Public Member Functions |
| | DetectorImage () |
| virtual | ~DetectorImage () |
| | DetectorImage (int reftra, int apt_type, float num_apt, float distance, float theta_s, float phi_s, int x_nbr, int y_nbr, float x_min, float x_max, float y_min, float y_max, std::string filename, int nbr_lambda, Detector *el) |
| virtual int | Process (WavePacket &wp, int up_down, int internal) const |
| virtual int | WriteResults (int power_inc) const |
| int | WriteResults2 (std::vector< double > power_inc, IO::Output &rOutput) const |
Detailed Description
Constructor & Destructor Documentation
| DetectorImage::DetectorImage |
( |
| ) |
|
| DetectorImage::~DetectorImage |
( |
| ) |
[virtual] |
| DetectorImage::DetectorImage |
( |
int |
reftra, |
|
|
int |
apt_type, |
|
|
float |
num_apt, |
|
|
float |
distance, |
|
|
float |
theta_s, |
|
|
float |
phi_s, |
|
|
int |
x_nbr, |
|
|
int |
y_nbr, |
|
|
float |
x_min, |
|
|
float |
x_max, |
|
|
float |
y_min, |
|
|
float |
y_max, |
|
|
std::string |
filename, |
|
|
int |
nbr_lambda, |
|
|
Detector * |
el |
|
) |
| |
Constructor.
- Parameters:
-
| reftra | 1 reflectance 0 transmittance. |
| apt_type | |
| num_apt | |
| distance | distance to paper surface. |
| theta_s | |
| phi_s | |
| x_nbr | |
| y_nbr | |
| x_min | |
| x_max | |
| y_min | |
| y_max | |
| nbr_lambda | number of wavelengths simulated. |
| el | pointer to previous detector. |
Member Function Documentation
| int DetectorImage::Process |
( |
WavePacket & |
wp, |
|
|
int |
up_down, |
|
|
int |
internal |
|
) |
| const [virtual] |
Detected image in matrix form.
- Parameters:
-
| wp | Instance of wavepacket. |
| up_down | |
Reimplemented from Detector.
| int DetectorImage::WriteResults |
( |
int |
power_inc | ) |
const [virtual] |
| int DetectorImage::WriteResults2 |
( |
std::vector< double > |
power_inc, |
|
|
IO::Output & |
rOutput |
|
) |
| const [virtual] |
Writes results as XML to the results file in rOutput.
- Parameters:
-
| rOutput | reference to an Output object. |
| power_inc | number of wavepackets that don't have error state. |
Reimplemented from Detector.
The documentation for this class was generated from the following files: