www.pudn.com > stlreader.rar > ShowFirstRight.h
#if !defined(AFX_SHOWFIRSTRIGHT_H__BDDE1889_C041_48C2_8E93_57D3EF8CA171__INCLUDED_)
#define AFX_SHOWFIRSTRIGHT_H__BDDE1889_C041_48C2_8E93_57D3EF8CA171__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Foot.h"
#include "3DModel.h"
// ShowFirstRight.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CShowFirstRight window
class CShowFirstRight : public CWnd
{
// Construction
public:
CShowFirstRight();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowFirstRight)
public:
virtual BOOL Create(DWORD dwStyle, CRect& rect, CWnd* pParent, UINT id);
//}}AFX_VIRTUAL
// Implementation
public:
void initOpengl();
void SetImage(HBITMAP *hbp);
virtual ~CShowFirstRight();
CRect m_rcImgWnd;
CDC m_MemDC;
CBitmap m_bpImageWnd;
BOOL m_bIsSetImage;
CPoint m_origePoint;
CPoint m_Curren_Point;
BOOL m_IsMoving;
CFoot m_foot;
CDC *m_pDC;
HDC m_hDC;
C3DModel m_3dmodel;
bool isfirst;
CDC *thisdc;
int m_xangle;//x方向上的旋转角度
int m_zangle;//y方向上的旋转角度
HGLRC m_hRC;
void PaintFoot(int xaxi,int zaxi);
//CDC *m_pDC;
// Generated message map functions
protected:
//{{AFX_MSG(CShowFirstRight)
afx_msg void OnPaint();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(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_SHOWFIRSTRIGHT_H__BDDE1889_C041_48C2_8E93_57D3EF8CA171__INCLUDED_)