sodatasetraster.h

来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 77 行

H
77
字号
// 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.


// Dispatch interfaces referenced by this interface
class CsoRect;
class CsoHistogram;

/////////////////////////////////////////////////////////////////////////////
// CsoDatasetRaster wrapper class

class CsoDatasetRaster : public COleDispatchDriver
{
public:
	CsoDatasetRaster() {}		// Calls COleDispatchDriver default constructor
	CsoDatasetRaster(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CsoDatasetRaster(const CsoDatasetRaster& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	BOOL GetCanUpdate();
	void SetCanUpdate(BOOL);
	CsoRect GetBounds();
	void SetBounds(LPDISPATCH);
	DATE GetDateCreated();
	void SetDateCreated(DATE);
	DATE GetDateLastUpdated();
	void SetDateLastUpdated(DATE);
	CString GetName();
	void SetName(LPCTSTR);
	long GetType();
	void SetType(long);
	BOOL GetVector();
	void SetVector(BOOL);
	CString GetDataSourceAlias();
	void SetDataSourceAlias(LPCTSTR);
	CString GetDescription();
	void SetDescription(LPCTSTR);
	double GetMaxZ();
	void SetMaxZ(double);
	double GetMinZ();
	void SetMinZ(double);
	long GetPixelWidth();
	void SetPixelWidth(long);
	long GetPixelHeight();
	void SetPixelHeight(long);
	long GetPixelFormat();
	void SetPixelFormat(long);
	double GetResolutionX();
	void SetResolutionX(double);
	double GetResolutionY();
	void SetResolutionY(double);

// Operations
public:
	BOOL ComputeBounds();
	long GetSmObject();
	BOOL Open();
	void Close();
	BOOL ExportImg(LPCTSTR strFileName, long nFileType, BOOL bShowProgress);
	long GetPixel(long nCol, long nRow);
	void SetPixel(long nCol, long nRow, long nNewValue);
	BOOL Register(LPDISPATCH objTopLeft, double dResolutionX, double dResolutionY);
	BOOL Register2(LPDISPATCH objBounds);
	BOOL Register3(LPCTSTR strFileName);
	BOOL AdjustBrightness(double dPercentage);
	BOOL AdjustContrast(double dPercentage);
	BOOL Smooth();
	CsoHistogram GetHistogram();
	BOOL Negate();
	void ShowHistogram();
	double GetValue(long nCol, long nRow);
	void SetValue(long nCol, long nRow, double newValue);
};

⌨️ 快捷键说明

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