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.
nmWATI/Include/nmNum/nmSubWnd/nmSubWndGrid.h

44 lines
940 B
C

#pragma once
#include "iSubWndBaseAF.h"
#include "nmSubWnd_global.h"
class nmDataDemo;
class NM_SUB_WND_EXPORT nmSubWndGrid : public iSubWndBaseAF
{
Q_OBJECT
public:
explicit nmSubWndGrid(QWidget *parent = 0, QString sExt = "");
~nmSubWndGrid();
// 配置窗体
virtual void configWnd();
// 初始化UI
virtual void initUI();
virtual QWidget* initUiMainWx();
// analyzeData setter and getter
nmDataDemo *analyzeData() const;
void setAnalyzeData(nmDataDemo *newAnalyzeData);
public:
// 执行命令通常来自Ribbon
virtual bool runCmdBy(QString sName, QString sID);
private:
// 生成几何文件
void genGeo(QVector<QPointF> outlinePoints, QVector<QVector<double >> wellInfo);
// 生成网格文件
void genGrid(bool is3D = true);
// 生成井文件
void genWellFile(QVector<QVector<double >> vWellsInfo);
private:
nmDataDemo* m_pAnalyzeData;
};