cdrawf.h
来自「face recognition test source code」· C头文件 代码 · 共 49 行
H
49 行
#ifndef CDRAWF_H
#define CDRAWF_H
#include "CFaceDB.h"
#include "def.h"
#include "CDiag.h"
class CDrawFace : public CFrameWnd
{
private:
CFaceDB *pFaceDB; /*Face DataBase data*/
CMatrix *pFaceMat;
CDiag *pEigenVal;
char bMat;
GEOMPARAMS gp;
int nMaxVPos;
int nVPos;
HFONT hfont, hfontOld; /*Character font*/
int MapModePrevious;
public:
CDrawFace();
void SetFaceDB(CFaceDB *pFaceDBt);
void SetFaceDB(CMatrix *pFaceMatt);
void SetFaceDB(CMatrix *pFaceMatt, CDiag *pEigenValt);
void GetGeomParams(GEOMPARAMS *gp);
int Getxlen();
int Getylen();
private:
void GetCornerFace(CORNER *c, long nFace);
void GetCornerName(CORNER *c, long nFace);
// Generated message map functions
protected:
//{{AFX_MSG(CWndFace)
afx_msg void OnPaint();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif /* CDRAWF_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?