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.
52 lines
968 B
C++
52 lines
968 B
C++
|
|
// WinIDWDlg.h: 头文件
|
|
//
|
|
|
|
#pragma once
|
|
#include "Base\BaseLib.h"
|
|
#include "DrawLib\DrawLib.h"
|
|
//#include "CommonClass\CommonClass.h"
|
|
#include "DrawLib\XyIO.h"
|
|
|
|
// CWinIDWDlg 对话框
|
|
class CWinIDWDlg : public CDialogEx
|
|
{
|
|
// 构造
|
|
public:
|
|
CWinIDWDlg(CWnd* pParent = nullptr); // 标准构造函数
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_WINIDW_DIALOG };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
|
|
|
|
// 实现
|
|
protected:
|
|
HICON m_hIcon;
|
|
|
|
// 生成的消息映射函数
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg HCURSOR OnQueryDragIcon();
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
void ReadInToMatrix(string FilePath, vector<array<double, 3>>& data);
|
|
BOOL OpenFile(LPCTSTR lpszFileName);
|
|
void Serialize(CArchive& ar);
|
|
public:
|
|
|
|
afx_msg void OnBnClickedBtnPlay();
|
|
CString txtLayerFile;
|
|
CString txtWellFile;
|
|
private:
|
|
CXy* m_pXy;
|
|
CMesh* m_pMesh;
|
|
|
|
double InvalidZ = 1e301;
|
|
};
|