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

1 month ago
// FaultDensityDlg.h : ͷ<>ļ<EFBFBD>
//
#pragma once
#include "afxwin.h"
#include "../FaultDensityLib/FltDensityAnalyzer.h"
// CFaultDensityDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
class CFaultDensityDlg : public CDialog
{
// <20><><EFBFBD><EFBFBD>
public:
CFaultDensityDlg(CWnd* pParent = NULL); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_FAULTDENSITY_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
// ʵ<><CAB5>
protected:
HICON m_hIcon;
// <20><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>Ϣӳ<CFA2><EFBFBD><E4BAAF>
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;
// <20><><EFBFBD>յ<EFBFBD>Ԫʵ<D4AA><CAB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
BOOL m_bCalcWithRealArea;
CComboBox m_comboLayers;
BOOL m_bIncludingSubLayers;
BOOL m_bSelectAllLayers;
afx_msg void OnCbnSelchangeComboSelectLayers();
afx_msg void OnBnClickedCheckSelectAllLayers();
CFltDensityAnalyzer fda;
// <20>߽<EFBFBD><DFBD><EFBFBD>λcombo<62>ؼ<EFBFBD>
CComboBox m_comboLayerBorder;
};