Open PaperOpt
DetectorImage Class Reference

#include <DetectorImage.h>

Inheritance diagram for DetectorImage:
Collaboration diagram for DetectorImage:

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

Image detector.


Constructor & Destructor Documentation

DetectorImage::DetectorImage ( )

Constructor.

DetectorImage::~DetectorImage ( ) [virtual]

Destructor.

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:
reftra1 reflectance 0 transmittance.
apt_type
num_apt
distancedistance to paper surface.
theta_s
phi_s
x_nbr
y_nbr
x_min
x_max
y_min
y_max
nbr_lambdanumber of wavelengths simulated.
elpointer to previous detector.

Member Function Documentation

int DetectorImage::Process ( WavePacket wp,
int  up_down,
int  internal 
) const [virtual]

Detected image in matrix form.

Parameters:
wpInstance of wavepacket.
up_down

Reimplemented from Detector.

Here is the call graph for this function:

int DetectorImage::WriteResults ( int  power_inc) const [virtual]

Old output method. Will be removed.

Deprecated:

Reimplemented from Detector.

int DetectorImage::WriteResults2 ( std::vector< double >  power_inc,
IO::Output rOutput 
) const [virtual]

Writes results as XML to the results file in rOutput.

Parameters:
rOutputreference to an Output object.
power_incnumber of wavepackets that don't have error state.

Reimplemented from Detector.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files: