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.
23 lines
596 B
C
23 lines
596 B
C
|
1 month ago
|
#pragma once
|
||
|
|
#include "DrawModel\BaseLib.h"
|
||
|
|
#include "DrawOperator\DrawLib.h"
|
||
|
|
class CGridManager
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
CGridManager();
|
||
|
|
~CGridManager();
|
||
|
|
void SetGridData(double xMin, double yMin, double * pDataZ
|
||
|
|
, double nCols, int nRows, double dx, double dy
|
||
|
|
, double zMin, double zMax, int insertTimes
|
||
|
|
, double* borderData, int borderDataSize);
|
||
|
|
bool SaveFile(CString outputFile, double contourStep, int contourMarkStep);
|
||
|
|
void Clear();
|
||
|
|
|
||
|
|
private:
|
||
|
|
CDimension2D* pDfg;// = new CDimension2D;
|
||
|
|
void AddContourCurve(CXy* pXy, vector<CCurve*>* curves, vector<CString*>* layer);
|
||
|
|
|
||
|
|
int m_insertTimes;
|
||
|
|
};
|
||
|
|
|