|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <TerrainQuery.h>
Inheritance diagram for TerrainPolyPathQuery:
Collaboration diagram for TerrainPolyPathQuery:Signals | |
| void | terrainDataReceived (bool success, const QList< TerrainPathQuery::PathHeightInfo_t > &rgPathHeightInfo) |
| Signalled when terrain data comes back from server. | |
Public Member Functions | |
| TerrainPolyPathQuery (bool autoDelete, QObject *parent=nullptr) | |
| ~TerrainPolyPathQuery () | |
| void | requestData (const QVariantList &polyPath) |
| void | requestData (const QList< QGeoCoordinate > &polyPath) |
Definition at line 175 of file TerrainQuery.h.
|
explicit |
| autoDelete | true: object will delete itself after it signals results |
Definition at line 267 of file TerrainQuery.cc.
References TerrainPathQuery::terrainDataReceived().
| TerrainPolyPathQuery::~TerrainPolyPathQuery | ( | ) |
Definition at line 278 of file TerrainQuery.cc.
| void TerrainPolyPathQuery::requestData | ( | const QList< QGeoCoordinate > & | polyPath | ) |
Definition at line 294 of file TerrainQuery.cc.
References TerrainPathQuery::requestData(), and terrainDataReceived().
| void TerrainPolyPathQuery::requestData | ( | const QVariantList & | polyPath | ) |
Async terrain query for terrain heights for the paths between each specified QGeoCoordinate. When the query is done, the terrainData() signal is emitted.
| polyPath | List of QGeoCoordinate |
Definition at line 283 of file TerrainQuery.cc.
References requestData().
Referenced by requestData().
|
signal |
Signalled when terrain data comes back from server.
Referenced by requestData().