|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <TerrainQuery.h>
Inheritance diagram for TerrainAreaQuery:
Collaboration diagram for TerrainAreaQuery:Classes | |
| struct | CarpetHeightInfo_t |
Signals | |
| void | terrainDataReceived (bool success, const TerrainAreaQuery::CarpetHeightInfo_t &carpetHeightInfo) |
Public Member Functions | |
| TerrainAreaQuery (bool autoDelete, QObject *parent=nullptr) | |
| ~TerrainAreaQuery () | |
| void | requestData (const QGeoCoordinate &swCoord, const QGeoCoordinate &neCoord) |
Definition at line 140 of file TerrainQuery.h.
|
explicit |
| autoDelete | true: object will delete itself after it signals results |
Definition at line 232 of file TerrainQuery.cc.
References TerrainQueryInterface::carpetHeightsReceived().
| TerrainAreaQuery::~TerrainAreaQuery | ( | ) |
Definition at line 243 of file TerrainQuery.cc.
| void TerrainAreaQuery::requestData | ( | const QGeoCoordinate & | swCoord, |
| const QGeoCoordinate & | neCoord | ||
| ) |
Async terrain query for terrain heights for the rectangular area specified. When the query is done, the terrainDataReceived() signal is emitted.
| swCoord | South-West bound of rectangular area to query |
| neCoord | North-East bound of rectangular area to query |
Definition at line 248 of file TerrainQuery.cc.
References TerrainQueryInterface::requestCarpetHeights().
|
signal |