www.pudn.com > stlreader.rar > twoimageDlg.h
// twoimageDlg.h : header file
#if !defined(AFX_TWOIMAGEDLG_H__BCD6BE80_F077_4B3B_BE48_13B2D045F230__INCLUDED_)
#define AFX_TWOIMAGEDLG_H__BCD6BE80_F077_4B3B_BE48_13B2D045F230__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CTwoimageDlg dialog
#include "ShowFirstRight.h"
#include "3DModel.h"
#include "Foot.h"
class CTwoimageDlg : public CDialog
{
// Construction
public:
void PaintFoot(int xaxi,int yaxi,int zaxi);
void initopengl();
CTwoimageDlg(CWnd* pParent = NULL); // standard constructor
CShowFirstRight D3Window;
/*double m_nVertextList[10010][3];
int m_npointnum;
float m_nTrueList[10010][3]; //存放真实的三维数据,以mm为单位,坐标原点在脚尖
/////////把脚切成20片,下面四个数组存储脚在切片里的y和z的最大最小坐标
float m_maxy[100];
float m_miny[100];
float m_maxz[100];
float m_minz[100];
//////////////////////////////////////////////
float m_xScale; //x方向缩放因子
float m_yScale[100];
float m_zScale[100];
*/
////绕三个坐标轴的旋转角度
int m_xaxi;
int m_yaxi;
int m_zaxi;
// Dialog Data
//{{AFX_DATA(CTwoimageDlg)
enum { IDD = IDD_TWOIMAGE_DIALOG };
CSliderCtrl m_Zslider;
CSliderCtrl m_Yslider;
CSliderCtrl m_Xslider;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTwoimageDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
CDC *m_pDC;
HGLRC m_hRC;
HDC m_hDC;
CPoint m_downpoint;
CFoot m_foot;
int m_paint1;
// Generated message map functions
//{{AFX_MSG(CTwoimageDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TWOIMAGEDLG_H__BCD6BE80_F077_4B3B_BE48_13B2D045F230__INCLUDED_)