⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contourocx.h

📁 生成等高线
💻 H
字号:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

/////////////////////////////////////////////////////////////////////////////
// CContourOCX wrapper class

class CContourOCX : public CWnd
{
protected:
	DECLARE_DYNCREATE(CContourOCX)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0x8afab5c2, 0xfac2, 0x4bc3, { 0xb5, 0xab, 0x22, 0xb9, 0x48, 0xb, 0x71, 0x51 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	float GetMinYPos();
	void SetMinYPos(float);
	float GetMaxXPos();
	void SetMaxXPos(float);
	float GetMaxYPos();
	void SetMaxYPos(float);
	float GetMinXPos();
	void SetMinXPos(float);

// Operations
public:
	void AddPoint(long row, long col, double x, double y, double value);
	void Calculate(long Compensate, long CompensateValue);
	void FreeData();
	void HWIN(LPCTSTR p_);
	void SetMapScale(float MinX, float MinY, float MaxX, float MaxY);
	void DrawMap(float DispX1, float DispX2, float DispY1, float DispY2, long RectX1, long RectX2, long RectY1, long RectY2, LPCTSTR dc);
	void DrawContours(long* dc, float DispX1, float DispX2, float DispY1, float DispY2, long RectX1, long RectX2, long RectY1, long RectY2, long rad);
	void InitialFromStr(LPCTSTR filePath);
	void InitialFromFile(LPCTSTR filePath, float ValueStep, float XYIntervalRate);
	void InitialFromMatrixFile(LPCTSTR filePath, float ValueStep);
	void SetConfigue();
	void GetLineColor(long LineIndex, long* LineColor);
	void GetLineSize(long LineIndex, long* LineSize);
	void IsLineSelected(long LineIndex, long* IsSelected);
	void SetLineSize(long LineIndex, long LineSize);
	void SetLineColor(long LineIndex, long LineColor);
	void SetSelected(long LineIndex, long Select);
	void GetSelected(long LineIndex, long* Select);
	void GetLineCount(long* LineCount);
	void SelectAllLine();
	void DeselectAllLine();
	void GetLineValue(long LineIndex, float* value);
	void DrawSmallMap(long dc, long left, long top, long right, long bottom);
	void CompensateData(long CompensateData);
	void GetCtrlPointCount(long LineIndex, long* PointCount);
	void GetCtrlPoint(long LineIndex, long PointIndex, double* x, double* y, double* value);
	void Substract(long* Matrix1, long* Matrix2, long row, long col);
	void IsCircle(long LineIndex, long* Circle);
	void SaveData();
	void CompensateWithoutCal(long CompensateValue);
	void GetRowCol(long* RowCount, long* ColCount);
	void GetMatrixPoint(long RowIndex, long ColIndex, float* x, float* y, float* value);
	void GetSstValueFromXY(float x, float y, float* value);
	void calculate2(long Compensate, long CompensateValue, float PointStep);
	void Calculate3(long Compensate, long CompensateValue, long Detail);
	void GetPolygonCount(long* PolygonCount);
	void GetPolygonPointCountValueArea(long index, long* PointCount, float* MinValue, float* MaxValue, float* AreaWithoutHoles, float* AreaWithHoles);
	void GetPolygonPointXY(long polygonIndex, long PointIndex, float* x, float* y);
	void AddCustomedStep(float x);
	void ResetPolyPostion(float x_slope, float x_intercept, float y_slope, float y_intercept);
	void ConvertToPolygon(long* Succeed);
	void ResetOnePolygonColor(long polygonIndex, long fillColor, long borderColor);
	void DrawPolygon(long dc, long polygonIndex, long drawChildPolygons);
	void DrawAllPolygons(long dc);
	void FlashPolygon(long dc, long polygonIndex, long fillColor, long borderColor);
	void Initial(long row, long col, double step, short InterposeValue, short RestrictInterposedValue);
	void InitialRandom(long insertLineCount, long nearPointCount, float step, float para1);
	void InitialRandomIIDW(long insertLineCount, long nearPointCount, float step, long Smooth);
	void InitialRandomCFWAI(long insertLineCount, float step, long Smooth);
	void CalculateRandom();
	void AddPointRandom(double x, double y, double value);
	void InitialRandomKrigingOK(long insertLineCount, long nearPointCount, float step, long Smooth, long ReservedValue);
	void InitializeSHPFile(BSTR* Path, BSTR* SHPType);
	void AddDBField(BSTR* Name, BSTR* DataType, long ByteLength);
	void CreateShapeFile();
	long AddRandomPointsFromFile(BSTR* Path);
	void AboutBox();
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -