Openholo  v5.0
Open Source Digital Holographic Library
KernelConst Struct Reference

#include <ophLightField_GPU.h>

Public Member Functions

 KernelConst (const int &channel, const int &iAmp, const int &pnX, const int &pnY, const Real &ppX, const Real &ppY, const int &nX, const int &nY, const int &rX, const int &rY, const Real &distance, const Real &k, const Real &lambda, const bool &random_phase)
 
 KernelConst (const int &n_points, const int &n_colors, const int &n_streams, const ivec2 &pixel_number, const vec2 &pixel_pitch, const Real wrp_dis, const Real propagation_distance, const Real depth_max, const Real &k, const Real &lambda, const bool &random_phase, const int &index_amplitude)
 
 KernelConst (const int &channel, const int &n_streams, const int &pnX, const int &pnY, const Real &ppX, const Real &ppY, const Real &propagation_distance, const Real &k, const Real &lambda, const bool &random_phase)
 

Public Attributes

int pnX
 
int pnY
 Number of pixel of SLM in x direction. More...
 
Real ppX
 
Real ppY
 
Real lambda
 Wave Number = (2 * PI) / lambda;. More...
 
Real pi2
 
Real k
 Pixel pitch of SLM in y direction. More...
 
Real distance
 number of streams More...
 
bool randomPhase
 
int nX
 
int nY
 
int rX
 
int rY
 
int nChannel
 
int iAmp
 
int n_points
 
int n_colors
 number of point cloud More...
 
int n_streams
 number of colors per point cloud More...
 
Real wrp_d
 number of streams More...
 
Real propa_d
 wrp location More...
 
int pn_X
 propagation distance More...
 
int pn_Y
 Number of pixel of SLM in x direction. More...
 
double pp_X
 Number of pixel of SLM in y direction. More...
 
double pp_Y
 Pixel pitch of SLM in x direction. More...
 
double k
 Pixel pitch of SLM in y direction. More...
 
double lambda
 Wave Number = (2 * PI) / lambda;. More...
 
Real zmax
 wave length = lambda; More...
 
bool bRandomPhase
 wave length = lambda; More...
 
int iAmplitude
 
double pi2
 
double tx
 
double ty
 
double det_tx
 
double det_ty
 
int channel
 
double ppX
 Number of pixel of SLM in y direction. More...
 
double ppY
 Pixel pitch of SLM in x direction. More...
 
double dx
 
double dy
 
double htx
 
double hty
 
double hdx
 
double hdy
 
double baseX
 
double baseY
 

Detailed Description

Definition at line 72 of file ophLightField_GPU.h.

Constructor & Destructor Documentation

◆ KernelConst() [1/3]

KernelConst::KernelConst ( const int &  channel,
const int &  iAmp,
const int &  pnX,
const int &  pnY,
const Real ppX,
const Real ppY,
const int &  nX,
const int &  nY,
const int &  rX,
const int &  rY,
const Real distance,
const Real k,
const Real lambda,
const bool &  random_phase 
)
inline

Definition at line 89 of file ophLightField_GPU.h.

◆ KernelConst() [2/3]

KernelConst::KernelConst ( const int &  n_points,
const int &  n_colors,
const int &  n_streams,
const ivec2 pixel_number,
const vec2 pixel_pitch,
const Real  wrp_dis,
const Real  propagation_distance,
const Real  depth_max,
const Real k,
const Real lambda,
const bool &  random_phase,
const int &  index_amplitude 
)
inline
Parameters
n_colorsnumber of point cloud
n_streamsnumber of colors per point cloud
pixel_pitchNumber of pixel of SLM in x, y direction
wrp_disPixel pitch of SLM in x, y direction
propagation_distanceWRP location
depth_maxpropagation distance
lambdaWave Number = (2 * PI) / lambda
random_phasewave length

Definition at line 108 of file ophWRP_GPU.h.

◆ KernelConst() [3/3]

KernelConst::KernelConst ( const int &  channel,
const int &  n_streams,
const int &  pnX,
const int &  pnY,
const Real ppX,
const Real ppY,
const Real propagation_distance,
const Real k,
const Real lambda,
const bool &  random_phase 
)
inline
Parameters
n_streamsnumber of colors per point cloud
pnYNumber of pixel of SLM in x, y direction
ppXNumber of pixel of SLM in x, y direction
ppYPixel pitch of SLM in x, y direction
propagation_distancePixel pitch of SLM in x, y direction
kpropagation distance
lambdaWave Number = (2 * PI) / lambda
random_phasewave length

Definition at line 107 of file ophRec_GPU.h.

Member Data Documentation

◆ baseX

double KernelConst::baseX

Definition at line 104 of file ophRec_GPU.h.

◆ baseY

double KernelConst::baseY

Definition at line 105 of file ophRec_GPU.h.

◆ bRandomPhase

bool KernelConst::bRandomPhase

wave length = lambda;

Definition at line 99 of file ophWRP_GPU.h.

◆ channel

int KernelConst::channel

Definition at line 78 of file ophRec_GPU.h.

◆ det_tx

double KernelConst::det_tx

Definition at line 105 of file ophWRP_GPU.h.

◆ det_ty

double KernelConst::det_ty

Definition at line 106 of file ophWRP_GPU.h.

◆ distance

Real KernelConst::distance

number of streams

Definition at line 80 of file ophLightField_GPU.h.

◆ dx

double KernelConst::dx

Definition at line 97 of file ophRec_GPU.h.

◆ dy

double KernelConst::dy

Definition at line 98 of file ophRec_GPU.h.

◆ hdx

double KernelConst::hdx

Definition at line 101 of file ophRec_GPU.h.

◆ hdy

double KernelConst::hdy

Definition at line 102 of file ophRec_GPU.h.

◆ htx

double KernelConst::htx

Definition at line 99 of file ophRec_GPU.h.

◆ hty

double KernelConst::hty

Definition at line 100 of file ophRec_GPU.h.

◆ iAmp

int KernelConst::iAmp

Definition at line 87 of file ophLightField_GPU.h.

◆ iAmplitude

int KernelConst::iAmplitude

Definition at line 100 of file ophWRP_GPU.h.

◆ k [1/2]

double KernelConst::k

Pixel pitch of SLM in y direction.

Definition at line 79 of file ophLightField_GPU.h.

◆ k [2/2]

double KernelConst::k

Pixel pitch of SLM in y direction.

Definition at line 95 of file ophWRP_GPU.h.

◆ lambda [1/2]

double KernelConst::lambda

Wave Number = (2 * PI) / lambda;.

Definition at line 77 of file ophLightField_GPU.h.

◆ lambda [2/2]

double KernelConst::lambda

Wave Number = (2 * PI) / lambda;.

Definition at line 96 of file ophWRP_GPU.h.

◆ n_colors

int KernelConst::n_colors

number of point cloud

Definition at line 83 of file ophWRP_GPU.h.

◆ n_points

int KernelConst::n_points

Definition at line 82 of file ophWRP_GPU.h.

◆ n_streams

int KernelConst::n_streams

number of colors per point cloud

Definition at line 84 of file ophWRP_GPU.h.

◆ nChannel

int KernelConst::nChannel

Definition at line 86 of file ophLightField_GPU.h.

◆ nX

int KernelConst::nX

Definition at line 82 of file ophLightField_GPU.h.

◆ nY

int KernelConst::nY

Definition at line 83 of file ophLightField_GPU.h.

◆ pi2 [1/2]

double KernelConst::pi2

Definition at line 78 of file ophLightField_GPU.h.

◆ pi2 [2/2]

double KernelConst::pi2

Definition at line 102 of file ophWRP_GPU.h.

◆ pn_X

int KernelConst::pn_X

propagation distance

Definition at line 89 of file ophWRP_GPU.h.

◆ pn_Y

int KernelConst::pn_Y

Number of pixel of SLM in x direction.

Definition at line 90 of file ophWRP_GPU.h.

◆ pnX

int KernelConst::pnX

Definition at line 73 of file ophLightField_GPU.h.

◆ pnY

int KernelConst::pnY

Number of pixel of SLM in x direction.

Definition at line 74 of file ophLightField_GPU.h.

◆ pp_X

double KernelConst::pp_X

Number of pixel of SLM in y direction.

Definition at line 92 of file ophWRP_GPU.h.

◆ pp_Y

double KernelConst::pp_Y

Pixel pitch of SLM in x direction.

Definition at line 93 of file ophWRP_GPU.h.

◆ ppX [1/2]

Real KernelConst::ppX

Definition at line 75 of file ophLightField_GPU.h.

◆ ppX [2/2]

double KernelConst::ppX

Number of pixel of SLM in y direction.

Definition at line 86 of file ophRec_GPU.h.

◆ ppY [1/2]

Real KernelConst::ppY

Definition at line 76 of file ophLightField_GPU.h.

◆ ppY [2/2]

double KernelConst::ppY

Pixel pitch of SLM in x direction.

Definition at line 87 of file ophRec_GPU.h.

◆ propa_d

Real KernelConst::propa_d

wrp location

Definition at line 87 of file ophWRP_GPU.h.

◆ randomPhase

bool KernelConst::randomPhase

Definition at line 81 of file ophLightField_GPU.h.

◆ rX

int KernelConst::rX

Definition at line 84 of file ophLightField_GPU.h.

◆ rY

int KernelConst::rY

Definition at line 85 of file ophLightField_GPU.h.

◆ tx

double KernelConst::tx

Definition at line 103 of file ophWRP_GPU.h.

◆ ty

double KernelConst::ty

Definition at line 104 of file ophWRP_GPU.h.

◆ wrp_d

Real KernelConst::wrp_d

number of streams

Definition at line 86 of file ophWRP_GPU.h.

◆ zmax

Real KernelConst::zmax

wave length = lambda;

Definition at line 98 of file ophWRP_GPU.h.


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