a
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#ifndef CCROSS_HOLE_3D_DRAWING_BOARD_DLG_H_20190411
|
||||
#define CCROSS_HOLE_3D_DRAWING_BOARD_DLG_H_20190411
|
||||
#pragma once
|
||||
|
||||
|
||||
// CDrawingBoardDlg 对话框
|
||||
|
||||
class CCrosshole3dDrawingBoardDlg : public CDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CCrosshole3dDrawingBoardDlg)
|
||||
|
||||
public:
|
||||
// 对话框数据
|
||||
enum { IDD = IDD_DIALOG_DRAWING_BOARD };
|
||||
|
||||
static CCrosshole3dDrawingBoardDlg* GetInstance();
|
||||
void AddBoreholePointToVector(map<STWellPoints, vector<STBoreHolePoints>> mapNewPoint); //将坐标点添加到井下集合
|
||||
void AddSurfaceXPointsToVector(map<int, std::vector<STBoreHolePoints>> mapXNewPoints); //将坐标点添加到地表集合
|
||||
void AddSurfaceYPointsToVector(map<int, std::vector<STBoreHolePoints>> mapYNewPoints); //将坐标点添加到地表集合
|
||||
|
||||
void DeleteCoordinatesPoint();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnPaint();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
float CalcMaxCableLength(); //计算X/Y/Z线缆最大长度
|
||||
private:
|
||||
CCrosshole3dDrawingBoardDlg(CWnd* pParent = NULL); // 标准构造函数
|
||||
virtual ~CCrosshole3dDrawingBoardDlg();
|
||||
|
||||
//用户保存需要绘制的点
|
||||
map<STWellPoints, vector<STBoreHolePoints>> m_mapBoreholePoints; //保存井下所有的点,,int存放X用于区分是否在同一个孔
|
||||
map<int, std::vector<STBoreHolePoints>> m_mapSurfaceXPoints; //地表X方向电缆电极坐标
|
||||
map<int, std::vector<STBoreHolePoints>> m_mapSurfaceYPoints; //地表Y方向电缆电极坐标
|
||||
CRect m_rcWnd; //模拟器窗口大小
|
||||
CRect m_rcBrush; //绘制电缆示意图区域
|
||||
CFont* m_pFont;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user