CWO++library  0.32
 All Classes Functions Variables Groups
Public Member Functions
cwoView< T > Class Template Reference

List of all members.

Public Member Functions

void SetWaveLength (float wl)
float GetWaveLength ()
void SetGazePoint (const cwoFloat3 &a)
cwoFloat3 GetGazePoint ()
void SetEyePoint (const cwoFloat3 &a)
cwoFloat3 GetEyePoint ()
void SetSrcPoint (const cwoFloat3 &a)
cwoFloat3 GetSrcPoint ()
void SetThresholdHist (const float hist)
void SetOutImageSize (const int Nx, const int Ny)
int GetOutImageNx ()
int GetOutImageNy ()
float GetThresholdHist ()
void SetPupilRadius (const float r)
float GetPupilRadius ()
void SetTypeSrcToEye (const int type)
void SetTypeEyeToGaze (const int type)
int GetTypeSrcToEye ()
int GetTypeEyeToGaze ()
void SetOutPath (const std::string &path)
void SetOutName (const std::string &name)
std::string & GetOutPath ()
std::string & GetOutName ()
void SrcToEye (T *src, T *dst, const cwoFloat3 &sp, const cwoFloat3 &ep, const cwoFloat2 &p_src, const cwoFloat2 &p_eye)
 calculate source plane to eye plane
void EyeToDst (T *src, T *dst, const cwoFloat3 &ep, const cwoFloat3 &gp, const cwoFloat2 &p_eye, const cwoFloat2 &p_dst)
 calculate eye plane to destination plane (gaze plane)
void Eye (T *src, T *dst, const cwoFloat3 &ep, const cwoFloat3 &gp, const cwoFloat3 &sp)
 Eye model.
void ViewXY (T *src, const float dx, const float dy, const int Nvx, const int Nvy=1, char *fname_out=nullptr)
void ViewXYDiv (char *fname_in, const float dx, const float dy, const int Nvx, const int Nvy=1, char *fname_out=nullptr)
 reconstruction
void ViewXYDiv2 (const std::string &fname_in, const cwoFloat3 &eye_dv, const cwoFloat3 &gaz_dv, const cwoFloat3 &Nv, const cwoFloat2 &p_src, const cwoFloat2 &p_eye, const cwoFloat2 &p_dst)
void Divide (const std::string &fname_in, int Nx, int Ny, float px, float py)

Member Function Documentation

template<typename T >
void cwoView< T >::SrcToEye ( T *  src,
T *  dst,
const cwoFloat3 sp,
const cwoFloat3 ep,
const cwoFloat2 p_src,
const cwoFloat2 p_eye 
)
inline

calculate source plane to eye plane

Parameters:
srccomplex amplitude on source plane
dstcomplex amplitude on eye plane
spsource position
epeye position
template<typename T >
void cwoView< T >::EyeToDst ( T *  src,
T *  dst,
const cwoFloat3 ep,
const cwoFloat3 gp,
const cwoFloat2 p_eye,
const cwoFloat2 p_dst 
)
inline

calculate eye plane to destination plane (gaze plane)

Parameters:
srccomplex amplitude on eye plane
dstcomplex amplitude on destination plane gaze plane
spsource position
epeye position
template<typename T >
void cwoView< T >::Eye ( T *  src,
T *  dst,
const cwoFloat3 ep,
const cwoFloat3 gp,
const cwoFloat3 sp 
)
inline

Eye model.

Parameters:
srccomplex amplitude on source plane
dstcomplex amplitude on eye plane
epeye position
gpgaze position
spsource position
template<typename T >
void cwoView< T >::ViewXYDiv ( char *  fname_in,
const float  dx,
const float  dy,
const int  Nvx,
const int  Nvy = 1,
char *  fname_out = nullptr 
)
inline

reconstruction

Parameters:
XXXcomplex amplitude on source plane

The documentation for this class was generated from the following file: