super3d.h
来自「用VC+SuperMap开发的校园GIS系统」· C头文件 代码 · 共 109 行
H
109 行
#if !defined(AFX_SUPER3D_H__99C98E62_9EFD_4555_8853_DB6DE446030A__INCLUDED_)
#define AFX_SUPER3D_H__99C98E62_9EFD_4555_8853_DB6DE446030A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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 CsoDataset;
class CsoColors;
class CsoGeoRegion;
class CsoDatasetRaster;
class CsoLayers;
class CsoFlightControl;
class CsoPoint3D;
/////////////////////////////////////////////////////////////////////////////
// CSuper3D wrapper class
class CSuper3D : public CWnd
{
protected:
DECLARE_DYNCREATE(CSuper3D)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xb49635f1, 0x4947, 0x43a2, { 0x98, 0xb6, 0xec, 0xe5, 0xd0, 0xa7, 0xa2, 0x9f } };
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:
unsigned long GetBackColor();
void SetBackColor(unsigned long);
BOOL GetFloodEnable();
void SetFloodEnable(BOOL);
CsoColors GetColorset();
void SetColorset(LPDISPATCH);
double GetScaleZ();
void SetScaleZ(double);
CsoDatasetRaster GetOverlayImage();
void SetOverlayImage(LPDISPATCH);
CString GetTexture();
void SetTexture(LPCTSTR);
CString GetAltitudeField();
void SetAltitudeField(LPCTSTR);
short GetAppearance();
void SetAppearance(short);
CString GetBackGroundTexture();
void SetBackGroundTexture(LPCTSTR);
CsoLayers GetLayers();
void SetLayers(LPDISPATCH);
CsoFlightControl GetFlightControl();
void SetFlightControl(LPDISPATCH);
unsigned long GetWaterColor();
void SetWaterColor(unsigned long);
// Operations
public:
BOOL Rotate(double dAngle, double NormalX, double NormalY, double NormalZ);
void Fly(LPDISPATCH objViewPoint, float fVisAngle, double dRoll, double dPitch, double dHeading);
void RestoreScene();
void RouteFly(LPDISPATCH obj3DPoints);
BOOL Pan(double dX, double dY);
BOOL LightSource(LPDISPATCH objPosition, BOOL bLocate);
void PanRotate(long dX, long dY);
CsoPoint3D HitTest(double dWinX, double dWinY);
void Flood(double dHeight);
void FloodEx(LPDISPATCH ControlPoints);
void Zoom(double dRatio);
BOOL OutputToFile(LPCTSTR strPictureFile, long nFileFormat);
BOOL Output(long hDC);
LPDISPATCH CreateSoObject(LPCTSTR strObjectName);
BOOL RegisterForRuntime(LPCTSTR strUser, LPCTSTR strCompany, LPCTSTR strSerialNo);
void LockWindowUpdate();
void UnlockWindowUpdate();
BOOL OpenMap3D(LPCTSTR strMapName);
BOOL SaveMap3D();
BOOL SaveMap3DAs(LPCTSTR strMapName);
BOOL Connect(LPDISPATCH objSuperWorkspace);
void Refresh();
BOOL Disconnect();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SUPER3D_H__99C98E62_9EFD_4555_8853_DB6DE446030A__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?