ZProject.h
上传用户:wangdan
上传日期:2022-06-30
资源大小:739k
文件大小:1k
源码类别:

3D图形编程

开发平台:

Visual C++

  1. #if !defined(AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_)
  2. #define AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ZProject.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CZProject view
  10. class CMainFrame;
  11. class CZProject : public CView
  12. {
  13. protected:
  14. CZProject();           // protected constructor used by dynamic creation
  15. DECLARE_DYNCREATE(CZProject)
  16. // Attributes
  17. public:
  18. CMainFrame *m_pFr;
  19. // Operations
  20. public:
  21. void ZProjection(CDC *pDC);
  22. void DrawZCoordinate(CDC *pDC);
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(CZProject)
  26. public:
  27. virtual void OnInitialUpdate();
  28. protected:
  29. virtual void OnDraw(CDC* pDC);      // overridden to draw this view
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. virtual ~CZProject();
  34. #ifdef _DEBUG
  35. virtual void AssertValid() const;
  36. virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38. // Generated message map functions
  39. protected:
  40. //{{AFX_MSG(CZProject)
  41. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_ZPROJECT_H__333DFF9B_1383_4266_A33D_EA3613F7CC5C__INCLUDED_)