www.pudn.com > PROGRAM.ZIP > DemToGLDlg.h, change:2000-03-28,size:2288b


// DemToGLDlg.h : header file 
// 
 
#if !defined(AFX_DEMTOGLDLG_H__3DABABA6_BD15_11D3_A1F8_0080C8D4274C__INCLUDED_) 
#define AFX_DEMTOGLDLG_H__3DABABA6_BD15_11D3_A1F8_0080C8D4274C__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CDemToGLDlg dialog 
 
class CDemToGLDlg : public CDialog 
{ 
// Construction 
public: 
	CDemToGLDlg(CWnd* pParent = NULL);	// standard constructor 
 
	bool ReadDEM(); 
	void GetVertexNormal(); 
	void WriteDataToGL(); 
 
	void SetOpenGLInterface(void); 
	void InitViewPort(void); 
	void DrawScene(void); 
	void InitOpenGL(void); 
	void InitTerrainList(void); 
	HGLRC m_hGlrc; 
//void GetVertexNormal(int i, int j, float normal[]); 
// Dialog Data 
	//{{AFX_DATA(CDemToGLDlg) 
	enum { IDD = IDD_DEMTOGL_DIALOG }; 
	CProgressCtrl	m_Progress3; 
	CProgressCtrl	m_Progress2; 
	CProgressCtrl	m_Progress; 
	CString	m_souce; 
	CString	m_destname; 
	CString	m_MessageToUser; 
	CString	m_facenum; 
	CString	m_vertexnum; 
	CString	m_xinterval; 
	CString	m_xnum; 
	CString	m_yinterval; 
	CString	m_ynum; 
	CString	m_MessageToUser2; 
	CString	m_MessageToUser3; 
	CString	m_inputx; 
	CString	m_inputy; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDemToGLDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CDemToGLDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnBegin(); 
	afx_msg void OnBrowse(); 
	afx_msg void OnDest(); 
	afx_msg void OnChangeEditdest(); 
	afx_msg void OnChangeEditsouse(); 
	virtual void OnCancel(); 
	afx_msg void OnChangeEditinputx(); 
	afx_msg void OnChangeEditinputy(); 
	afx_msg void OnStart(); 
	afx_msg void OnFourCut(); 
	afx_msg void OnEightCut(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DEMTOGLDLG_H__3DABABA6_BD15_11D3_A1F8_0080C8D4274C__INCLUDED_)