3DHelperDemoDlg.h
上传用户:qzpk666
上传日期:2022-08-04
资源大小:59k
文件大小:2k
- // 3DHelperDemoDlg.h : header file
- //
- #if !defined(AFX_3DHELPERDEMODLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_)
- #define AFX_3DHELPERDEMODLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_
- #include "MF3DHelper.h" // Added by ClassView
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMy3DHelperDemoDlg dialog
- typedef struct _DATA3D_{
- NeHe::VECTOR3D s3D;
- int x;
- int y;
- } DATA3D;
- class CMy3DHelperDemoDlg : public CDialog
- {
- // Construction
- public:
- CMy3DHelperDemoDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMy3DHelperDemoDlg)
- enum { IDD = IDD_MY3DHELPERDEMO_DIALOG };
- CButton m_ctrlAxes;
- CButton m_ctrlCoordinates;
- CButton m_ctrlVisibilityCube;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMy3DHelperDemoDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CMy3DHelperDemoDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnTimer(UINT nIDEvent);
- virtual void OnOK();
- virtual void OnCancel();
- afx_msg void OnCheckVisibilityCube();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void cleanup();
- void initialize();
- void redraw();
- CMF3DHelper m_c3DHelper;
- DATA3D *m_pVectorData;
- int m_iCurrAngle;
- int m_iXSize;
- int m_iYSize;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_3DHELPERDEMODLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_)