www.pudn.com > VQ_Final.rar > VQWizard.h


#if !defined(AFX_VQWIZARD_H__610F7026_C598_4E10_B874_51B10EE7A5FE__INCLUDED_) 
#define AFX_VQWIZARD_H__610F7026_C598_4E10_B874_51B10EE7A5FE__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// VQWizard.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CVQWizard 
 
class CVQWizard : public CPropertySheet		//量化向导 
{ 
	DECLARE_DYNAMIC(CVQWizard) 
 
// Construction 
public: 
	CVQWizard(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); 
	CVQWizard(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0); 
 
// Attributes 
public: 
	BOOL m_bSucceed;		//量化是否成功 
	CString m_sCodeBook,m_sFile,m_sTitle,m_sVQ,m_sOut;	 
		//码本文件名,BMP文件名,量化结果文件名,输出BMP文件名 
	BYTE *m_pData,*m_pBook;		//位图数据,码本 
	BYTE *m_pOrgData;			//初始的位图数据 
	WORD *m_pVQ;				//量化结果 
 
	UINT m_nSkip,m_nNum,m_nVectors,m_nPoints,m_nPoints1,m_nReal,m_nReal1; 
		//行尾补零数,量化后的向量数,码本中向量数,向量维数,实际字节数 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CVQWizard) 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CVQWizard(); 
 
	// Generated message map functions 
protected: 
	//{{AFX_MSG(CVQWizard) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_VQWIZARD_H__610F7026_C598_4E10_B874_51B10EE7A5FE__INCLUDED_)