61 #define OPH_Bitsperpixel 8 //24 // 3byte=24 63 #define OPH_Compression 0 64 #define OPH_Xpixelpermeter 0x130B //2835 , 72 DPI 65 #define OPH_Ypixelpermeter 0x130B //2835 , 72 DPI 66 #define OPH_Pixel 0xFF 149 virtual int loadPointCloud(
const char* pc_file);
158 virtual bool readConfig(
const char* fname);
160 void calculateWRPCPU(
void);
161 void calculateWRPGPU(
void);
169 void generateHologram(
void);
187 void setViewingWindow(
bool is_ViewingWindow);
212 virtual void ophFree(
void);
214 Real fieldLens = this->getFieldLens();
215 return -fieldLens * pt / (pt - fieldLens);
218 void transVW(
Real* dst,
Real *src,
int size);
230 bool is_ViewingWindow;
ulonglong getNumberOfPoints()
Directly Get Basic Data.
void setLocation(Real location)
OphPointCloudData obj_
Input Pointcloud Data.
const int & getNumOfWRP()
unsigned long long ulonglong
Complex< Real > * getWRPBuff(void)
OphWRPConfig wrp_config_
structure variable for WRP hologram configuration
void setDistance(Real distance)
void setScale(vec3 scale)
structure for 3-dimensional Real type vector and its arithmetic.
Complex< Real > * p_wrp_
wrp buffer - complex type
Vertex * getPointCloudModel()
Get point cloud vertex data.
int n_points
numbers of points
const Real & getLocation()
const Real & getFieldLens()
const Real & getDistance()