Functions |
void | CWO::SetCtx (const cwoCtx &c) |
| Set context which manages the parameters of the wavelength, pixel pitch, etc.
|
cwoCtx & | CWO::GetCtx () |
| Get context which manages the parameters of the wavelength, pixel pitch, etc.
|
void | CWO::SetCalcType (int type) |
| Set diffraction type. Do not use it.
|
void | CWO::SetPitch (float px, float py) |
| Set the sampling rate on source and destination planes.
|
void | CWO::SetPitch (float p) |
void | CWO::SetPitch (const cwoFloat2 &p) |
void | CWO::SetPitch (const cwoVect2< float > &p) |
void | CWO::SetSrcPitch (float px, float py) |
| Set the sampling rate on source plane only.
|
void | CWO::SetSrcPitch (float p) |
void | CWO::SetSrcPitch (const cwoFloat2 &p) |
void | CWO::SetSrcPitch (const cwoVect2< float > &p) |
void | CWO::SetDstPitch (float px, float py) |
| Set the sampling rate on destination plane only.
|
void | CWO::SetDstPitch (float p) |
void | CWO::SetDstPitch (const cwoFloat2 &p) |
void | CWO::SetDstPitch (const cwoVect2< float > &p) |
void | CWO::SetWaveLength (float w) |
| Set the wavelength of light.
|
void | CWO::SetOffset (float x, float y) |
| Set the offset of source plane away from the origin.
|
void | CWO::SetOffset (const cwoFloat2 &p) |
void | CWO::SetOffset (const cwoVect2< float > &p) |
void | CWO::SetSrcOffset (float x, float y) |
| Set the offset of source plane away from the origin.
|
void | CWO::SetSrcOffset (const cwoFloat2 &p) |
void | CWO::SetSrcOffset (const cwoVect2< float > &p) |
void | CWO::SetDstOffset (float x, float y) |
| Set the offset of destination plane away from the origin.
|
void | CWO::SetDstOffset (const cwoFloat2 &p) |
void | CWO::SetDstOffset (const cwoVect2< float > &p) |
void | CWO::SetThreads (int Nx, int Ny=1) |
| set the number of threads
|
int | CWO::GetThreads () |
| get the number of threads
|
size_t | CWO::GetNx () |
| get horizontal pixel number
|
size_t | CWO::GetNy () |
| get vertical pixel number
|
cwoVect2< size_t > | CWO::GetShape () |
| get horizontal and vertical pixel number
|
float | CWO::GetWaveLength () |
| get wavelength
|
float | CWO::GetWaveNum () |
| get wave number
|
float | CWO::GetDistance () |
| get propagation distance
|
float | CWO::GetPx () |
| get sampling rate along to x-axis on source plane
|
float | CWO::GetPy () |
| get sampling rate along to y-axis on source plane
|
cwoVect2< float > | CWO::GetPitch () |
float | CWO::GetSrcPx () |
| get sampling rate along to x-axis on source plane
|
float | CWO::GetSrcPy () |
| get sampling rate along to y-axis on source plane
|
cwoVect2< float > | CWO::GetSrcPitch () |
float | CWO::GetDstPx () |
| get sampling rate along to x-axis on destination plane
|
float | CWO::GetDstPy () |
| get sampling rate along to y-axis on destination plane
|
cwoVect2< float > | CWO::GettDstPitch () |
float | CWO::GetOx () |
| get offset along to x-axis on source plane
|
float | CWO::GetOy () |
| get offset along to y-axis on source plane
|
cwoVect2< float > | CWO::GetOffset () |
float | CWO::GetSrcOx () |
| get offset along to x-axis on source plane
|
float | CWO::GetSrcOy () |
| get offset along to y-axis on source plane
|
cwoVect2< float > | CWO::GetSrcOffset () |
float | CWO::GetDstOx () |
| get offset along to x-axis on destination plane
|
float | CWO::GetDstOy () |
| get offset along to y-axis on destination plane
|
cwoVect2< float > | CWO::GetDstOffset () |
float | CWO::GetLx () |
| get physical length of source along to x-axis
|
float | CWO::GetLy () |
| get physical length of source along to y-axis
|
cwoVect2< float > | CWO::GetLength () |
float | CWO::GetSrcLx () |
| get physical length of source along to x-axis
|
float | CWO::GetSrcLy () |
| get physical length of source along to y-axis
|
cwoVect2< float > | CWO::GetSrcLength () |
float | CWO::GetDstLx () |
| get physical length of destication along to x-axis
|
float | CWO::GetDstLy () |
| get physical length of destication along to y-axis
|
cwoVect2< float > | CWO::GetDstLength () |
cwoVect2< int > | CWO::GetCenterPix () |
int | CWO::GetAliasingFreeApproxSphWave (float z, float p, float wl) |
| get aliasing-free radius of approximated spherical wave
|
void | CWO::ShowParam () |
| Show parameters of cwoCtx.
|