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.
kev/Drawer/GVision/FaultStatistics/FaultStatisticsDlg.h

69 lines
1.4 KiB
C++

// FaultStatisticsDlg.h : 头文件
//
#pragma once
#include "afxwin.h"
#include <vector>
#include <string>
#include "afxcolorbutton.h"
// CFaultStatisticsDlg 对话框
class CFaultStatisticsCreator;
class CFaultStatisticsDlg : public CDialog
{
// 构造
public:
CFaultStatisticsDlg(CWnd* pParent = NULL); // 标准构造函数
~CFaultStatisticsDlg(void);
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_FAULTSTATISTICS_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:
// 断层文件
CString m_strFltFile;
// 背景曲面文件
CString m_strDfg;
CString m_strOutCsv;
CComboBox m_comboFltLayer;
afx_msg void OnBnClickedButtonInputFltSurvey();
afx_msg void OnBnClickedButtonInputDfg();
afx_msg void OnBnClickedButtonOutputData();
float m_step;
afx_msg void OnBnClickedOk();
//读取参数
void ReadParameters(void);
protected:
bool ReadDfd(void);
bool ReadDfg(void);
void FillLayerCombos(void); //填充层位combo
CFaultStatisticsCreator* m_fmc;
std::vector<std::string> m_layers;
CString m_strOutFigure;
public:
afx_msg void OnBnClickedButtonOutputFigure();
// 标注类型 0= 垂直 1=水平 2=倾角
int m_iMarkType;
// 颜色选择按钮
CMFCColorButton m_btnColor;
float m_nTextHeight;
};