|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <TerrainQueryInterface.h>
Inheritance diagram for TerrainOfflineQuery:
Collaboration diagram for TerrainOfflineQuery:Public Member Functions | |
| TerrainOfflineQuery (QObject *parent=nullptr) | |
| ~TerrainOfflineQuery () | |
| void | requestCoordinateHeights (const QList< QGeoCoordinate > &coordinates) override |
| void | requestPathHeights (const QGeoCoordinate &fromCoord, const QGeoCoordinate &toCoord) override |
| void | requestCarpetHeights (const QGeoCoordinate &swCoord, const QGeoCoordinate &neCoord, bool statsOnly) override |
Public Member Functions inherited from TerrainQueryInterface | |
| TerrainQueryInterface (QObject *parent=nullptr) | |
| virtual | ~TerrainQueryInterface () |
| void | signalCoordinateHeights (bool success, const QList< double > &heights) |
| void | signalPathHeights (bool success, double distanceBetween, double finalDistanceBetween, const QList< double > &heights) |
| void | signalCarpetHeights (bool success, double minHeight, double maxHeight, const QList< QList< double > > &carpet) |
Additional Inherited Members | |
Signals inherited from TerrainQueryInterface | |
| void | coordinateHeightsReceived (bool success, const QList< double > &heights) |
| void | pathHeightsReceived (bool success, double distanceBetween, double finalDistanceBetween, const QList< double > &heights) |
| void | carpetHeightsReceived (bool success, double minHeight, double maxHeight, const QList< QList< double > > &carpet) |
Protected Member Functions inherited from TerrainQueryInterface | |
| virtual void | _requestFailed () |
Protected Attributes inherited from TerrainQueryInterface | |
| TerrainQuery::QueryMode | _queryMode = TerrainQuery::QueryMode::QueryModeNone |
Definition at line 71 of file TerrainQueryInterface.h.
|
explicit |
Definition at line 79 of file TerrainQueryInterface.cc.
| TerrainOfflineQuery::~TerrainOfflineQuery | ( | ) |
Definition at line 85 of file TerrainQueryInterface.cc.
|
overridevirtual |
Request terrain heights for the rectangular area specified. Signals: carpetHeights when data is available
| swCoord | South-West bound of rectangular area to query |
| neCoord | North-East bound of rectangular area to query |
| statsOnly | true: Return only stats, no carpet data |
Reimplemented from TerrainQueryInterface.
Definition at line 106 of file TerrainQueryInterface.cc.
References TerrainQueryInterface::_queryMode, TerrainTileManager::addCarpetQuery(), TerrainTileManager::instance(), and TerrainQuery::QueryModeCarpet.
|
overridevirtual |
Request terrain heights for specified coodinates. Signals: coordinateHeights when data is available
| coordinates | to query |
Reimplemented from TerrainQueryInterface.
Definition at line 90 of file TerrainQueryInterface.cc.
References TerrainQueryInterface::_queryMode, TerrainTileManager::addCoordinateQuery(), TerrainTileManager::instance(), and TerrainQuery::QueryModeCoordinates.
|
overridevirtual |
Requests terrain heights along the path specified by the two coordinates. Signals: pathHeights
| coordinates | to query |
Reimplemented from TerrainQueryInterface.
Definition at line 100 of file TerrainQueryInterface.cc.
References TerrainQueryInterface::_queryMode, TerrainTileManager::addPathQuery(), TerrainTileManager::instance(), and TerrainQuery::QueryModePath.