HologramDepthmap Library
|
Structure variable for hologram paramemters. More...
#include <HologramGenerator.h>
Public Attributes | |
double | field_lens |
FIELD_LENS at config file. More... | |
double | lambda |
WAVELENGTH at config file. More... | |
double | k |
2 * PI / lambda More... | |
ivec2 | pn |
SLM_PIXEL_NUMBER_X & SLM_PIXEL_NUMBER_Y. More... | |
vec2 | pp |
SLM_PIXEL_PITCH_X & SLM_PIXEL_PITCH_Y. More... | |
vec2 | ss |
pn * pp More... | |
double | near_depthmap |
NEAR_OF_DEPTH_MAP at config file. More... | |
double | far_depthmap |
FAR_OF_DEPTH_MAP at config file. More... | |
uint | num_of_depth |
the number of depth level. More... | |
std::vector< int > | render_depth |
Used when only few specific depth levels are rendered, usually for test purpose. More... | |
This structure has all necessary parameters for generating a hologram. It is read from the configuration file, 'config_openholo.txt'.
Definition at line 100 of file HologramGenerator.h.
double HologramParams::far_depthmap |
Definition at line 110 of file HologramGenerator.h.
double HologramParams::field_lens |
Definition at line 102 of file HologramGenerator.h.
double HologramParams::k |
Definition at line 104 of file HologramGenerator.h.
double HologramParams::lambda |
Definition at line 103 of file HologramGenerator.h.
double HologramParams::near_depthmap |
Definition at line 109 of file HologramGenerator.h.
uint HologramParams::num_of_depth |
if FLAG_CHANGE_DEPTH_QUANTIZATION == 0 num_of_depth = DEFAULT_DEPTH_QUANTIZATION else num_of_depth = NUMBER_OF_DEPTH_QUANTIZATION
Definition at line 112 of file HologramGenerator.h.
ivec2 HologramParams::pn |
Definition at line 105 of file HologramGenerator.h.
vec2 HologramParams::pp |
Definition at line 106 of file HologramGenerator.h.
std::vector<int> HologramParams::render_depth |
Definition at line 119 of file HologramGenerator.h.
vec2 HologramParams::ss |
Definition at line 107 of file HologramGenerator.h.