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

📄 faultazmdlg.h.bak

📁 裂隙统计程序设计
💻 BAK
字号:
// FaultAzmDlg.h : header file
//

#if !defined(AFX_FAULTAZMDLG_H__0663FCAB_3039_4773_ACA6_99F1E98C07A1__INCLUDED_)
#define AFX_FAULTAZMDLG_H__0663FCAB_3039_4773_ACA6_99F1E98C07A1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CFaultAzmDlg dialog
struct CELL
{
	int n;
	double per;//百分比
	double min;
	double max;
	double mean;
	double stdvar;//标准差
};

class CFaultAzmDlg : public CDialog
{
// Construction
public:
	void GetRadiusAngle(CPoint point, double& r, double& angle);
	int GetIndexClass(double angle, CELL* pAmzStatCell,int nCls);
	void f_DrawLine();
	void f_DrawCircle();
	void f_PreDraw();
	void BasStatVar(double* pdat, int N, CELL& rAmzStatCell);
	void FindClsPos(double *pdat, int N, double clsF, CUIntArray& ruiaClsPos);
	void SortData(double* pdat,int N, int* pid);
	
	//数据变量
	int m_N;
	double* m_pdatOrg;
	int* m_pidSort;
	double* m_pdatSort;
	double* m_pdatdAB;//排序后前后数值之差
	CUIntArray	m_uiaClsPos;//分类点的位置
	CELL* m_pAmzStatCell;//方位统计胞

	//绘图参数
	CRect m_Rect;
	int m_y0;
	int m_x0;
	int m_AxisL;
	double m_Scale;//绘图比例=图面/实际
	BOOL m_canDrawLine;
	double m_Zoom; //缩放比例
	

	CFaultAzmDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CFaultAzmDlg)
	enum { IDD = IDD_FAULTAZM_DIALOG };
	CListCtrl	m_listCtrlRlt;
	CListCtrl	m_listCtrl;
	double	m_f;
	CString	m_strAngle;
	CString	m_strR;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CFaultAzmDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonOpen();
	afx_msg void OnButtonResult();
	afx_msg void OnButtonZoomin();
	afx_msg void OnButtonZoomout();
	afx_msg void OnButtonZoomeq1();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnButtonSave();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FAULTAZMDLG_H__0663FCAB_3039_4773_ACA6_99F1E98C07A1__INCLUDED_)

⌨️ 快捷键说明

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