CWO++library
0.32
|
Functions | |
virtual void | CWO::__AddSphericalWave (cwoComplex *p, float x, float y, float z, float px, float py, float a, float ph=0.0f) |
virtual void | CWO::__MulSphericalWave (cwoComplex *p, float x, float y, float z, float px, float py, float a) |
void | CWO::AddSphericalWave (float x, float y, float z, float a, float ph=0.0f) |
void | CWO::AddSphericalWave (float x, float y, float z, float px, float py, float a, float ph=1.0f) |
Add spherical wave to the field. | |
void | CWO::MulSphericalWave (float x, float y, float z, float a=1.0f) |
Multiply spherical wave to the field. | |
void | CWO::MulSphericalWave (float x, float y, float z, float px, float py, float a=1.0f) |
virtual void | CWO::__AddApproxSphWave (cwoComplex *p, float x, float y, float phi, float zx, float zy, float px, float py, float a) |
Add Fresnel-approximated spherical wave to the field. | |
void | CWO::AddApproxSphWave (float x, float y, float z, float a=1.0f) |
void | CWO::AddApproxSphWave (float x, float y, float z, float px, float py, float a=1.0f) |
void | CWO::AddApproxSphWave (float x, float y, float phi, float zx, float zy, float px, float py, float a=1.0f) |
virtual void | CWO::__MulApproxSphWave (cwoComplex *p, float x, float y, float phi, float zx, float zy, float px, float py, float a) |
Multiply Fresnel-approximated spherical wave to the field. | |
void | CWO::MulApproxSphWave (float x, float y, float z, float a=1.0f) |
void | CWO::MulApproxSphWave (float x, float y, float z, float px, float py, float a=1.0f) |
void | CWO::MulApproxSphWave (float x, float y, float phi, float zx, float zy, float px, float py, float a=1.0f) |
void | CWO::AddPlanarWave (float kx, float ky, float px, float py, float a=1.0f) |
Add planar wave to the field. | |
void | CWO::AddPlanarWave (float kx, float ky, float a=1.0f) |
Add planar wave to the field. | |
void | CWO::MulPlanarWave (float kx, float ky, float px, float py, float a=1.0f) |
Multiply planar wave to the field. | |
void | CWO::MulPlanarWave (float kx, float ky, float a=1.0f) |
Multiply planar wave to the field. |
void CWO::AddSphericalWave | ( | float | x, |
float | y, | ||
float | z, | ||
float | a, | ||
float | ph = 0.0f |
||
) |
Add spherical wave to the field. The equation is as follows:
where is the wave number.
@param x : center of the spherical wave @param y : center of the spherical wave @param z : distance between the field and the spherical wave @param a : amplitude of the spherical wave
void CWO::AddSphericalWave | ( | float | x, |
float | y, | ||
float | z, | ||
float | px, | ||
float | py, | ||
float | a, | ||
float | ph = 1.0f |
||
) |
Add spherical wave to the field.
x | : center of the spherical wave |
y | : center of the spherical wave |
z | : distance between the field and the spherical wave |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the spherical wave |
void CWO::MulSphericalWave | ( | float | x, |
float | y, | ||
float | z, | ||
float | a = 1.0f |
||
) |
Multiply spherical wave to the field.
x | : center of the spherical wave |
y | : center of the spherical wave |
z | : distance between the field and the spherical wave |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the spherical wave |
ph | : initial phase of the spherical wave Mutily spherical wave to the field. |
@param x : center of the spherical wave @param y : center of the spherical wave @param z : distance between the field and the spherical wave @param a : amplitude of the spherical wave @param ph : initial phase of the spherical wave
|
virtual |
Add Fresnel-approximated spherical wave to the field.
x | : center of the spherical wave |
y | : center of the spherical wave |
z | : distance between the field and the spherical wave |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the spherical wave Add Fresnel-approximated spherical wave to the field. |
@param x : center of the spherical wave @param y : center of the spherical wave @param phi : initial phase of the spherical wave @param px : sampling rate along to x-axis on the field @param py : sampling rate along to y-axis on the field @param a : amplitude of the spherical wave
Reimplemented in GWO.
|
virtual |
Multiply Fresnel-approximated spherical wave to the field.
x | : center of the spherical wave |
y | : center of the spherical wave |
phi | : initial phase of the spherical wave |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the spherical wave |
Reimplemented in GWO.
void CWO::AddPlanarWave | ( | float | kx, |
float | ky, | ||
float | px, | ||
float | py, | ||
float | a = 1.0f |
||
) |
Add planar wave to the field.
kx | : wave number along to x-axis on the field |
ky | : wave number along to y-axis on the field |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the planar wave |
void CWO::AddPlanarWave | ( | float | kx, |
float | ky, | ||
float | a = 1.0f |
||
) |
Add planar wave to the field.
kx | : wave number along to x-axis on the field |
ky | : wave number along to y-axis on the field |
a | : amplitude of the planar wave |
void CWO::MulPlanarWave | ( | float | kx, |
float | ky, | ||
float | px, | ||
float | py, | ||
float | a = 1.0f |
||
) |
Multiply planar wave to the field.
kx | : wave number along to x-axis on the field |
ky | : wave number along to y-axis on the field |
kz | : wave number along to z-axis on the field |
px | : sampling rate along to x-axis on the field |
py | : sampling rate along to y-axis on the field |
a | : amplitude of the planar wave |
void CWO::MulPlanarWave | ( | float | kx, |
float | ky, | ||
float | a = 1.0f |
||
) |
Multiply planar wave to the field.
kx | : wave number along to x-axis on the field |
ky | : wave number along to y-axis on the field |
kz | : wave number along to z-axis on the field |
a | : amplitude of the planar wave |