|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <TerrainQuery.h>
Inheritance diagram for TerrainPathQuery:
Collaboration diagram for TerrainPathQuery:Classes | |
| struct | PathHeightInfo_t |
Signals | |
| void | terrainDataReceived (bool success, const TerrainPathQuery::PathHeightInfo_t &pathHeightInfo) |
| Signalled when terrain data comes back from server. | |
Public Member Functions | |
| TerrainPathQuery (bool autoDelete, QObject *parent=nullptr) | |
| ~TerrainPathQuery () | |
| void | requestData (const QGeoCoordinate &fromCoord, const QGeoCoordinate &toCoord) |
Definition at line 104 of file TerrainQuery.h.
|
explicit |
| autoDelete | true: object will delete itself after it signals results |
Definition at line 197 of file TerrainQuery.cc.
References TerrainQueryInterface::pathHeightsReceived().
| TerrainPathQuery::~TerrainPathQuery | ( | ) |
Definition at line 208 of file TerrainQuery.cc.
| void TerrainPathQuery::requestData | ( | const QGeoCoordinate & | fromCoord, |
| const QGeoCoordinate & | toCoord | ||
| ) |
Async terrain query for terrain heights between two lat/lon coordinates. When the query is done, the terrainData() signal is emitted.
| coordinates | to query |
Definition at line 213 of file TerrainQuery.cc.
References TerrainQueryInterface::requestPathHeights().
Referenced by TerrainPolyPathQuery::requestData().
|
signal |
Signalled when terrain data comes back from server.
Referenced by TerrainPolyPathQuery::TerrainPolyPathQuery().