|
Open PaperOpt
|
#include <DetectorArs.h>


Public Member Functions | |
| DetectorArs () | |
| virtual | ~DetectorArs () |
| DetectorArs (int reftra, int apt_type, float apt_diameter, float distance, float theta_max, float theta_min, float theta_step, int theta_nbr, float phi_max, float phi_min, float phi_step, int phi_nbr, int nbr_lambda, Detector *el) | |
| virtual int | Process (WavePacket &wp, int up_down, int internal) const |
| virtual int | WriteResults2 (std::vector< double > power_inc, IO::Output &rOutput) const |
This detector is very slow because it goes through all positions to check wether the wave packet goes through the aperture at the specific position. Use DetectorArsGlobe, which only takes the direction of the wave packet into account, for faster (approximated) calculations.
| DetectorArs::DetectorArs | ( | ) |
Constructor.
| DetectorArs::~DetectorArs | ( | ) | [virtual] |
Destructor.
| DetectorArs::DetectorArs | ( | int | reftra, |
| int | apt_type, | ||
| float | apt_diameter, | ||
| float | distance, | ||
| float | theta_max, | ||
| float | theta_min, | ||
| float | theta_step, | ||
| int | theta_nbr, | ||
| float | phi_max, | ||
| float | phi_min, | ||
| float | phi_step, | ||
| int | phi_nbr, | ||
| int | nbr_lambda, | ||
| Detector * | el | ||
| ) |
Constructor.
| reftra | 1 reflectance or 0 transmittance. |
| apt_type | |
| apt_diameter | |
| distance | distance to the paper surface. |
| theta_max | |
| theta_min | |
| theta_step | |
| theta_nbr | |
| phi_max | |
| phi_min | |
| phi_step | |
| phi_nbr | |
| el | pointer to the previous detector. |
| int DetectorArs::Process | ( | WavePacket & | wp, |
| int | up_down, | ||
| int | internal | ||
| ) | const [virtual] |
Process the wave packet and mesured power is tranformed into BSDF.
| wp | Instance of wavepacket. |
| up_down | . |
Reimplemented from Detector.

| int DetectorArs::WriteResults2 | ( | std::vector< double > | power_inc, |
| IO::Output & | rOutput | ||
| ) | const [virtual] |
Writes results as XML to the results file in rOutput.
| rOutput | reference to an Output object. |
| power_inc | number of wavepackets that don't have error state. |
Reimplemented from Detector.
