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.
GCS-GISControlDlg-for-981A-.../ExportQBGISCtrlClass.h

125 lines
3.5 KiB
C

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// #ifndef EXPORT_QB_GIS_CTRL_CLASS_H
// #define EXPORT_QB_GIS_CTRL_CLASS_H
#pragma once
#include "FlyLineDataStruct.h"
#include "GISDlg.h"
#include "Resource.h"
// #ifdef EXPORT_API
// #else
// #define EXPORT_API _declspec(dllimport)
// #endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
// CGISDlg g_mapShowDlg;
// bool g_bCreateMap = false;
// ExportQBGISCtrlClass::ExportQBGISCtrlClass()
// {
//
// }
//
// ExportQBGISCtrlClass::~ExportQBGISCtrlClass()
// {
//
// }
//功能显示GIS对话框
//输入对话框显示区域矩阵rc主窗口对象pParent
extern "C" _declspec(dllexport) void ShowGISDlg(const CRect rc, CWnd* pParent);
//功能删除GIS对话框
extern "C" _declspec(dllexport) void DeleteGISDlg();
//功能:输入无人机的经纬度,标绘航迹
//输入经度lon以°为单位
// 纬度lat以°为单位
// 航向角yaw以°为单位
extern "C" _declspec(dllexport) void SetUAVFlyCoordinate(const double lon, const double lat, const double yaw);
//功能:定位到目标点
//输入经度lon纬度lat
extern "C" _declspec(dllexport) void ZoomToLocation(double lon,double lat);
//功能:增加目标点,在地图显示区标绘出来
//输入目标点号ptID经度lon纬度lat
extern "C" _declspec(dllexport) void AddTarget(const int ptID, const double lon, const double lat);
//功能删除给定ID号的目标点
//输入目标点号ptID
extern "C" _declspec(dllexport) void DeleteTarget(const int ptID);
//功能:删除所有目标点
extern "C" _declspec(dllexport) void DeleteAllTargets();
//功能:在地图显示区标绘出装订的飞行航线数据
//输入航线数据体集合linePtArray航线的航点个数ptNum
extern "C" _declspec(dllexport) void DrawBindFlyLine(const PtStruct *linePtArray, const int ptNum);
// 显示或隐藏dlg
//输入显示状态nCmdShow0为隐藏1为显示
extern "C" _declspec(dllexport) void ShowWnd(int nCmdShow);
//功能:设置地面站位置
//输入经度lon纬度lat高度alt
extern "C" _declspec(dllexport) void SetGCSPosition(const double lon, const double lat, const double alt);
//功能:标绘导引点位置
//输入导引点类型guideMode1为导引飞行1,2为导引飞行2经度lon纬度lat
extern "C" _declspec(dllexport) void DrawGuidePoint(const BYTE guideMode, const double lon, const double lat);
//功能:显示给定名称的航线
//输入航线文件strFlyLineName
extern "C" _declspec(dllexport) void DisplayFlyLine(const CString strFlyLineName);
// 功能:设置消息发送句柄及消息号
extern "C" _declspec(dllexport) void SetMsgInfo(const HWND hwnd, const UINT msgID);
//功能:标绘回收点位置
//输入导引点类型callbackMode1为回收点12为回收点2经度lon纬度lat
extern "C" _declspec(dllexport) void DrawCallBackPoint(const BYTE callbackMode, const double lon, const double lat);
//功能:目标追踪测试接口
//输入经纬度点的像素大小默认20
extern "C" _declspec(dllexport) void OnShowTargetPoint(double lon, double lat, int pixelSize);
//功能:显示自主着陆点与飞机的连线
//输入飞机ID飞机经纬度显示/清除bShow为false时uavLonuavLat随意设置无实际作用
extern "C" _declspec(dllexport) void ShowLine14Ex(int uavID,double uavLon,double uavLat,bool bShow);
//功能:设置装订的自主着陆点坐标
//输入飞机ID自主着陆点经纬度
extern "C" _declspec(dllexport) void SetBindLine14Coordinate(int uavID,double lon,double lat);
//获取地图版本号
extern "C" _declspec(dllexport) CString GetMapVersion();
//#endif