a
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#ifndef C_CROSS_HOLE_2D_DRAWING_BOARD_DLG_H_20190411
|
||||
#define C_CROSS_HOLE_2D_DRAWING_BOARD_DLG_H_20190411
|
||||
#pragma once
|
||||
|
||||
|
||||
// CCrosshole2dDrawingBoardDlg 对话框
|
||||
|
||||
class CCrosshole2dDrawingBoardDlg : public CDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CCrosshole2dDrawingBoardDlg)
|
||||
|
||||
public:
|
||||
// 对话框数据
|
||||
enum { IDD = IDD_DIALOG_DRAWING_BOARD };
|
||||
|
||||
static CCrosshole2dDrawingBoardDlg* GetInstance();
|
||||
void AddBoreholePointToVector(std::map<STWellPoints, std::vector<STBoreHolePoints>> mapNewPoints); //将坐标点添加到井下集合
|
||||
void AddSurfacePointsToVector(std::vector<STBoreHolePoints> vecNewPoints); //将坐标点添加到地表集合
|
||||
|
||||
void DeleteCoordinatesPoint();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnPaint();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
CCrosshole2dDrawingBoardDlg(CWnd* pParent = NULL); // 标准构造函数
|
||||
virtual ~CCrosshole2dDrawingBoardDlg();
|
||||
|
||||
//用户保存需要绘制的点
|
||||
std::map<STWellPoints, std::vector<STBoreHolePoints>> m_mapBoreholePoints; //保存井下所有的点,,int存放X用于区分是否在同一个孔
|
||||
std::vector<STBoreHolePoints> m_vecSurfacePoints; //地表所有的点,只有一条测线
|
||||
CRect m_rcWnd; //模拟器窗口大小
|
||||
CRect m_rcBrush; //绘制电缆示意图区域
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user