www.pudn.com > OpenGL实现三维绘图.rar > ProjectView.h
#if !defined(AFX_PROJECTVIEW_H__3BBD1605_8929_46C7_8F1C_C4C15093C7D3__INCLUDED_)
#define AFX_PROJECTVIEW_H__3BBD1605_8929_46C7_8F1C_C4C15093C7D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProjectView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CProjectView view
class CMainFrame;
class CProjectView : public CView
{
protected:
CProjectView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CProjectView)
CMainFrame *m_pfr;
CString m_ProName;
CClientDC *m_pDC;
bool m_bShowBmp;
// Attributes
public:
// Operations
public:
void ShowBmpMessageFun(LPARAM lp, WPARAM wp);
void ShowSelArear(HBITMAP hBmp, CDC *pDC);
void InvalidatethisRect();
void AngleChanging(LPARAM lp, WPARAM wp);
CString GetAngle(int Angle);
void DrawCoordinate(CDC *pDC);
void DrawRect(CDC *pDC);
int m_WitchPro; //确定画哪种投影的参数0为什么也不画,1画X投影,2画Y投影,3画Z投影,4画当前位置投影
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProjectView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CProjectView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CProjectView)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROJECTVIEW_H__3BBD1605_8929_46C7_8F1C_C4C15093C7D3__INCLUDED_)