You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.4 KiB
C++
62 lines
1.4 KiB
C++
|
|
// FaultDensityDlg.h : 头文件
|
|
//
|
|
|
|
#pragma once
|
|
#include "afxwin.h"
|
|
#include "../FaultDensityLib/FltDensityAnalyzer.h"
|
|
|
|
// CFaultDensityDlg 对话框
|
|
class CFaultDensityDlg : public CDialog
|
|
{
|
|
// 构造
|
|
public:
|
|
CFaultDensityDlg(CWnd* pParent = NULL); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_FAULTDENSITY_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg void OnBnClickedButton1();
|
|
afx_msg void OnBnClickedButtonInputFlt();
|
|
afx_msg void OnBnClickedButtonInputBorder();
|
|
afx_msg void OnBnClickedButtonTotalDensity();
|
|
afx_msg void OnBnClickedButtonCellDensity();
|
|
CString m_strInputFlt;
|
|
CString m_strInputBorder;
|
|
CString m_strOutputTotalDensity;
|
|
CString m_strDensityDistribution;
|
|
float m_fGridWidth;
|
|
float m_gridHeight;
|
|
afx_msg void OnBnClickedOk();
|
|
CString m_strOutPolygons;
|
|
afx_msg void OnBnClickedButtonCellPolygon();
|
|
float m_fMinFltLen;
|
|
// 按照单元实际面积计算
|
|
BOOL m_bCalcWithRealArea;
|
|
CComboBox m_comboLayers;
|
|
BOOL m_bIncludingSubLayers;
|
|
BOOL m_bSelectAllLayers;
|
|
afx_msg void OnCbnSelchangeComboSelectLayers();
|
|
afx_msg void OnBnClickedCheckSelectAllLayers();
|
|
CFltDensityAnalyzer fda;
|
|
// 边界层位combo控件
|
|
CComboBox m_comboLayerBorder;
|
|
};
|