dlgdraw.h

来自「在人脸检测的基础之上,对嘴部的运动表情进行分析,进行语音模拟.」· C头文件 代码 · 共 70 行

H
70
字号
#if !defined(AFX_DLGDRAW_H__C24F8220_DF1A_11D2_9327_00A0C9D57E5C__INCLUDED_)
#define AFX_DLGDRAW_H__C24F8220_DF1A_11D2_9327_00A0C9D57E5C__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// DlgDraw.h : header file
//

#include "Matrix.h"
#include "CDib.h"

/////////////////////////////////////////////////////////////////////////////
// CDlgDraw dialog

class CDlgDraw: public CDialog
{
// Construction
public:

	CString m_windowText;
	matrix m_Image;
	matrix m_VectorField;

	void Draw();

	int m_width;
	int m_height;
	int m_posX;
	int m_posY;
	int m_scale; 
	matrix m_color; 

	CDlgDraw(CWnd* pParent = NULL);   // standard constructor
	BOOL OpenFile( CString& strFileName, CString& strFileTitle, CString strFileExtension, 
					CString strInitialDir,CString strOpenTitle, char* strFilter, BOOL isReadFile);
	void SaveMatrix( );


// Dialog Data
	//{{AFX_DATA(CDlgDraw)
	enum { IDD = IDD_DRAW_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgDraw)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgDraw)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGDRAW_H__C24F8220_DF1A_11D2_9327_00A0C9D57E5C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?