⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 analysedlg.h

📁 运用扫描法求设计一个最佳比例的聚光腔
💻 H
字号:
#if !defined(AFX_ANALYSEDLG_H__417F6C62_C3F0_4E5C_BF0B_F81003726A86__INCLUDED_)
#define AFX_ANALYSEDLG_H__417F6C62_C3F0_4E5C_BF0B_F81003726A86__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AnalyseDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CAnalyseDlg dialog
//#include "SimulateView.h"

struct SetParam;

typedef struct Record
{
	long nIndex;          //序号
	float fLAxis;         //长半轴
	float fSAxis;         //短半轴
	int nGoodPhotonCount; //好光子数
	int nBadPhotonCount;  //坏光子数
	int nDeadPhotonCount; //死光子数
	float fGoodRate;      //光子吸收率
	float fBadRate;       //坏光子率
	float fDeadRate;      //死光子率
}Record;

typedef struct RecordString
{
	CString strIndex;            //序号
	CString strLAxis;            //长半轴
	CString strSAxis;            //短半轴
	CString strGoodPhotonCount;  //好光子数
	CString strBadPhotonCount;   //坏光子数
	CString strDeadPhotonCount;  //死光子数
	CString strGoodRate;         //光子吸收率
	CString strBadRate;          //坏光子率
	CString strDeadRate;         //死光子率
}RecordString;

class CSimulateView;

class CAnalyseDlg : public CDialog
{
// Construction
public:
	void Display(Record r,SetParam sp);
	CAnalyseDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAnalyseDlg)
	enum { IDD = IDD_ANALYZE };
	int		m_nAllPhoton;
	int		m_nBadPhoton;
	int		m_nDeadPhoton;
	int		m_nIndex;
	float	m_fLAxis;
	float	m_fLAxisAdd;
	float	m_fLAxisFrom;
	float	m_fObjRadius;
	int	m_nReflectCount;
	float	m_fSAxis;
	float	m_fSAxisAdd;
	float	m_fSAxisFrom;
	float	m_fShineIntensity;
	CString	m_strObjSort;
	int		m_nGoodPhoton;
	CString	m_strGoodRate;
	CString	m_strBadRate;
	CString	m_strDeadRate;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnalyseDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CBitmap m_bitOk;
	HICON m_hIcon;
//	CSimulateView m_pSimulateView;

	// Generated message map functions
	//{{AFX_MSG(CAnalyseDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnLocate();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ANALYSEDLG_H__417F6C62_C3F0_4E5C_BF0B_F81003726A86__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -