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.
|
|
|
|
#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();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
nmDataDemo* m_pAnalyzeData;
|
|
|
|
|
};
|