📄 terraexplorer.tlh
字号:
long Width,
long Height,
long ResizeBack ) = 0;
virtual HRESULT __stdcall GetImage (
VARIANT * pImage ) = 0;
};
struct __declspec(uuid("84ce9d16-65ad-11d5-85c1-0001023952c1"))
IStartPosition : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_StartX (
double * pVal ) = 0;
virtual HRESULT __stdcall get_StartZ (
double * pVal ) = 0;
};
struct __declspec(uuid("84ce9d18-65ad-11d5-85c1-0001023952c1"))
IObjectManager : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall CreatePolyline (
VARIANT SafeArrayVertices,
long LineColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainPolyline * * pITerrainPolyline ) = 0;
virtual HRESULT __stdcall Create2DPolygon (
VARIANT SafeArrayVertices,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainPolyline * * pITerrainPolyline ) = 0;
virtual HRESULT __stdcall CreateRectangle (
double X,
double Y,
double Elevation,
double ObjectWidth,
double ObjectDepth,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainRectangle * * pITerrainRectangle ) = 0;
virtual HRESULT __stdcall CreateRegularPolygon (
double X,
double Y,
double Elevation,
double Radius,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainRegularPolygon * * pITerrainRegPolygon ) = 0;
virtual HRESULT __stdcall CreateCircle (
double X,
double Y,
double Elevation,
double Radius,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainRegularPolygon * * pITerrainRegPolygon ) = 0;
virtual HRESULT __stdcall Create3DPolygon (
VARIANT SafeArrayVertices,
double ObjectHeight,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DPolygon * * pITerrain3DPolygon ) = 0;
virtual HRESULT __stdcall CreateBuilding (
VARIANT SafeArrayVertices,
double ObjectHeight,
BuildingStyleCode BuildingStyle,
long GroupID,
BSTR Description,
struct ITerrainBuilding * * pITerrainBuilding ) = 0;
virtual HRESULT __stdcall CreateBox (
double X,
double Y,
double Elevation,
double ObjectWidth,
double ObjectDepth,
double ObjectHeight,
double Yaw,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DRectBase * * pITerrain3DRectBase ) = 0;
virtual HRESULT __stdcall CreatePyramid (
double X,
double Y,
double Elevation,
double ObjectWidth,
double ObjectDepth,
double ObjectHeight,
double Yaw,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DRectBase * * pITerrain3DRectBase ) = 0;
virtual HRESULT __stdcall CreateCylinder (
double X,
double Y,
double Elevation,
double Radius,
double ObjectHeight,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DRegBase * * pITerrain3DRegBase ) = 0;
virtual HRESULT __stdcall CreateCone (
double X,
double Y,
double Elevation,
double Radius,
double ObjectHeight,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DRegBase * * pITerrain3DRegBase ) = 0;
virtual HRESULT __stdcall CreateEllipse (
double X,
double Y,
double Elevation,
double RadiusX,
double RadiusY,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainEllipse * * pITerrainEllipse ) = 0;
virtual HRESULT __stdcall CreateArc (
double X,
double Y,
double Elevation,
double RadiusX,
double RadiusY,
double StartAngle,
double EndEngle,
int NumOfSegments,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainArc * * pITerrainArc ) = 0;
virtual HRESULT __stdcall CreateArrow (
double HeadX,
double HeadY,
double Elevation,
double Direction,
double Length,
int Style,
long LineColor,
ObjectFillType FillType,
long FillColor,
HeightStyleCode HeightStyle,
long GroupID,
BSTR Description,
struct ITerrainArrow * * pITerrainArrow ) = 0;
virtual HRESULT __stdcall Create3DArrow (
double HeadX,
double HeadY,
double Elevation,
double Direction,
double Length,
int Style,
double ObjectHeight,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrain3DArrow * * pITerrain3DArrow ) = 0;
virtual HRESULT __stdcall CreateSphere (
double X,
double Y,
double Elevation,
double Radius,
SphereStyle Style,
int SegmentDensity,
long LineColor,
ObjectFillType FillType,
long FillColor,
long GroupID,
BSTR Description,
struct ITerrainSphere * * pITerrainSphere ) = 0;
virtual HRESULT __stdcall CreateModel (
double X,
double Y,
double Elevation,
BSTR FileName,
double Yaw,
double Pitch,
double Roll,
double Scale,
long GroupID,
BSTR Description,
struct ITerrainModel * * pITerrainModel ) = 0;
virtual HRESULT __stdcall CreateLabel (
double X,
double Y,
double Elevation,
long GroupID,
BSTR Description,
struct ITerrainLabel * * pITerrainLabel ) = 0;
virtual HRESULT __stdcall CreateLabelEx (
struct LabelStruct LabelInfo,
double X,
double Y,
double Elevation,
long GroupID,
BSTR Description,
struct ITerrainLabel * * pITerrainLabel ) = 0;
virtual HRESULT __stdcall CreateLocation (
double X,
double Y,
double Elevation,
double Yaw,
double Pitch,
double Distance,
long GroupID,
BSTR Description,
struct ITerrainLocation * * pITerrainLocation ) = 0;
virtual HRESULT __stdcall CreateTreeHotlink (
BSTR MessageID,
long GroupID,
BSTR Description,
struct ISingleMessageObject * * pISingleMessageObject ) = 0;
virtual HRESULT __stdcall CreateRoute (
VARIANT SafeArrayWaypointStruct,
long HeightRelativeToGround,
long GroupID,
BSTR Description,
struct ITerrainRoute * * pITerrainRoute ) = 0;
virtual HRESULT __stdcall CreateMessage (
MsgClient Client,
BSTR Data,
MsgType Type,
long BringToFront,
struct ITerraExplorerMessage * * pITerraExplorerMessage ) = 0;
virtual HRESULT __stdcall GetObject (
BSTR ObjectID,
struct ITerraExplorerObject * * pITerraExplorerObject ) = 0;
};
enum __MIDL_ITerrainObject_0001
{
HSC_TERRAIN_RELATIVE = 0,
HS_POLYGON_TERRAIN_RELATIVE = 0,
HSC_PIVOT_RELATIVE = 1,
HS_POLYGON_PIVOT_RELATIVE = 1,
HSC_ON_TERRAIN = 2,
HS_ON_TERRAIN = 2,
HSC_TERRAIN_ABSOLUTE = 3,
HSC_DEFAULT = 999
};
struct __declspec(uuid("84ce9d1d-65ad-11d5-85c1-0001023952c1"))
ITerrainLocation : ISingleMessageObject
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Distance (
double * pVal ) = 0;
virtual HRESULT __stdcall put_Distance (
double pVal ) = 0;
virtual HRESULT __stdcall get_ActivationCode (
ActionCode * pVal ) = 0;
virtual HRESULT __stdcall put_ActivationCode (
ActionCode pVal ) = 0;
virtual HRESULT __stdcall get_ActivationParam (
int * pVal ) = 0;
virtual HRESULT __stdcall put_ActivationParam (
int pVal ) = 0;
virtual HRESULT __stdcall SetPosition (
double X,
double Y,
double Elevation,
double Yaw,
double Pitch,
double Roll,
long Flags ) = 0;
virtual HRESULT __stdcall GetPosition (
VARIANT * doubleX,
VARIANT * doubleY,
VARIANT * doubleElevation,
VARIANT * doubleYaw,
VARIANT * doublePitch,
VARIANT * doubleRoll ) = 0;
};
struct __declspec(uuid("84ce9d1e-65ad-11d5-85c1-0001023952c1"))
ITerrainObject : ITerrainLocation
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Visible (
long * pVal ) = 0;
virtual HRESULT __stdcall put_Visible (
long pVal ) = 0;
virtual HRESULT __stdcall get_ToolTipText (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall put_ToolTipText (
BSTR pVal ) = 0;
virtual HRESULT __stdcall get_HeightStyle (
HeightStyleCode * pVal ) = 0;
virtual HRESULT __stdcall put_HeightStyle (
HeightStyleCode pVal ) = 0;
virtual HRESULT __stdcall get_MaxVisibilityDistance (
double * pVal ) = 0;
virtual HRESULT __stdcall put_MaxVisibilityDistance (
double pVal ) = 0;
virtual HRESULT __stdcall get_MinVisibilityDistance (
double * pVal ) = 0;
virtual HRESULT __stdcall put_MinVisibilityDistance (
double pVal ) = 0;
virtual HRESULT __stdcall get_IsAttached (
long * pVal ) = 0;
virtual HRESULT __stdcall get_AutoDetach (
long * pVal ) = 0;
virtual HRESULT __stdcall put_AutoDetach (
long pVal ) = 0;
virtual HRESULT __stdcall AttachTo (
BSTR TerrainObjectID,
double DX,
double DY,
double DHeight ) = 0;
};
struct __declspec(uuid("84ce9d1f-65ad-11d5-85c1-0001023952c1"))
ITerrainColoredObject : ITerrainObject
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_FgColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_FgColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_FgAlpha (
double * pVal ) = 0;
virtual HRESULT __stdcall put_FgAlpha (
double pVal ) = 0;
virtual HRESULT __stdcall get_BgColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_BgColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_BgAlpha (
double * pVal ) = 0;
virtual HRESULT __stdcall put_BgAlpha (
double pVal ) = 0;
};
struct __declspec(uuid("84ce9d20-65ad-11d5-85c1-0001023952c1"))
ITerrainPolyline : ITerrainColoredObject
{
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -