www.pudn.com > RayTrace1.1.rar > ShowTracedPicture.h
#if !defined(AFX_SHOWTRACEDPICTURE_H__DA521EBD_F8A4_49AC_A04E_F9A9E610C192__INCLUDED_)
#define AFX_SHOWTRACEDPICTURE_H__DA521EBD_F8A4_49AC_A04E_F9A9E610C192__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowTracedPicture.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CShowTracedPicture dialog
#include "Vector3.h"
#include "Dib.h"
class CShowTracedPicture : public CDialog
{
// Construction
public:
void MyDraw();
void MakeBitMap();
void LoadOriPixel(RGBQUAD** Buffer);
CShowTracedPicture(CWnd* pParent = NULL); // standard constructor
~CShowTracedPicture();
CDC *pDCShow;
CDib *m_pMainDib;//λͼ
RGBQUAD** m_tOriPixelArray;//ÔʼλͼÊý¾Ý
RGBQUAD** m_tResPixelArray;//²Î¿¼Î»Í¼Êý¾Ý
CBitmap* m_pResMap;
RGBQUAD** m_Buffer;//±£´æÍ¼Æ¬Êý¾Ý
int m_nWndWidth;//ͼÏñ¿í¶È
int m_nWndHeight;//ͼÏñ¸ß¶È
// Dialog Data
//{{AFX_DATA(CShowTracedPicture)
enum { IDD = IDD_DIALOG_ShowTracedPicture };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowTracedPicture)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CShowTracedPicture)
virtual BOOL OnInitDialog();
afx_msg void OnBUTTONShowPic();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWTRACEDPICTURE_H__DA521EBD_F8A4_49AC_A04E_F9A9E610C192__INCLUDED_)