www.pudn.com > MFC_OGLTest1.rar > MFC_OGLTestView.h, change:2007-09-18,size:2453b


// MFC_OGLTestView.h : interface of the CMFC_OGLTestView class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MFC_OGLTESTVIEW_H__337FBFF2_C824_4067_A246_AD488867BBE3__INCLUDED_) 
#define AFX_MFC_OGLTESTVIEW_H__337FBFF2_C824_4067_A246_AD488867BBE3__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
 
class CMFC_OGLTestView : public CView 
{ 
protected: // create from serialization only 
	CMFC_OGLTestView(); 
	DECLARE_DYNCREATE(CMFC_OGLTestView) 
 
// Attributes 
public: 
	CMFC_OGLTestDoc* GetDocument(); 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMFC_OGLTestView) 
	public: 
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void OnInitialUpdate(); 
	protected: 
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); 
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); 
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
    HGLRC m_hRC; 
    HDC   m_hDC; 
    CDC* m_pDC; 
    int   width,height; 
    float xrotate; 
    float yrotate; 
    float zrotate;  
    float xOrg, xMax; 
    float yOrg, yMax; 
    float zOrg, zMax; 
public: 
    bool a; 
	bool b; 
	bool rc,vc; 
	double PI; 
	int m_edite; 
    float SARData[20][360][460]; 
    float SAVData[20][360][920]; 
    float SAWData[20][360][920]; 
    float* SAElevation; 
	float El1; 
	CString str1,str2; 
	virtual ~CMFC_OGLTestView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected: 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMFC_OGLTestView) 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg BOOL OnEraseBkgnd(CDC* pDC); 
	afx_msg void OnDestroy(); 
	afx_msg void OnFileOpen(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
#ifndef _DEBUG  // debug version in MFC_OGLTestView.cpp 
inline CMFC_OGLTestDoc* CMFC_OGLTestView::GetDocument() 
   { return (CMFC_OGLTestDoc*)m_pDocument; } 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MFC_OGLTESTVIEW_H__337FBFF2_C824_4067_A246_AD488867BBE3__INCLUDED_)