www.pudn.com > OpenGL实现三维绘图.rar > ZProject.h
#if !defined(AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_)
#define AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ZProject.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CZProject view
class CMainFrame;
class CZProject : public CView
{
protected:
CZProject(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CZProject)
// Attributes
public:
CMainFrame *m_pFr;
// Operations
public:
void ZProjection(CDC *pDC);
void DrawZCoordinate(CDC *pDC);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CZProject)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CZProject();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CZProject)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_)