www.pudn.com > Dynamicdisplayofreal-time3Dterrain.rar > dialogDlg.h


// dialogDlg.h : header file 
// 
 
#if !defined(AFX_DIALOGDLG_H__C9B7C0F6_09E5_11D3_9FB6_00104B0CB6E3__INCLUDED_) 
#define AFX_DIALOGDLG_H__C9B7C0F6_09E5_11D3_9FB6_00104B0CB6E3__INCLUDED_ 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CDialogDlg dialog 
 
class CDialogDlg : public CDialog 
{ 
// Construction 
public: 
    //关于变量、函数的作用,详细请参见.cpp文件的相关注释 
	void GetShiCha(float x1,float y1,float h1,float x2,float y2,float h2,float normal[3]); 
	int px,py,pz; 
	double lookx,looky,lookz; 
	void readdem(); 
	void GetVertexNormal(int i,int j, float normal[3]); 
	void draw_scence(); 
	HGLRC m_hrc; 
	void SetThePixelFormat(CDC* pDC); 
	CDialogDlg(CWnd* pParent = NULL);	// standard constructor 
     
// Dialog Data 
	//{{AFX_DATA(CDialogDlg) 
	enum { IDD = IDD_DIALOG_DIALOG }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDialogDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
    // Generated message map functions 
	//{{AFX_MSG(CDialogDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void exit_system(); 
	afx_msg void create_display_list(); 
	afx_msg void move_scence(); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void stop_move(); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DIALOGDLG_H__C9B7C0F6_09E5_11D3_9FB6_00104B0CB6E3__INCLUDED_)