|
QGroundControl
Ground Control Station for MAVLink Drones
|
z=0 everywhere (Milestone 1 default) More...
#include <HeightSource.h>
Inheritance diagram for FlatHeightSource:
Collaboration diagram for FlatHeightSource:Public Member Functions | |
| bool | requestTile (const TileMath::TileKey &key) override |
Public Member Functions inherited from ProceduralHeightSource | |
| int | requestPatchHeights (const TileMath::TileKey &key, int gridSize) final |
| Request the vertex height grid for a patch. Returns a request id (> 0). | |
| void | cancelRequest (int requestId) final |
| Cancel a pending request. No signal is emitted for a cancelled request. | |
| bool | requestTile (const TileMath::TileKey &key) override |
| HeightSource (QObject *parent=nullptr) | |
Public Member Functions inherited from HeightSource | |
| HeightSource (QObject *parent=nullptr) | |
| void | setHeightField (HeightField *field) |
| Field that receives whole tiles requested via requestTile (not owned) | |
Protected Member Functions | |
| float | heightAtWorld (const QPointF &world) const override |
| Height in meters at a world-space ground position. | |
Protected Member Functions inherited from HeightSource | |
| int | _nextRequestId () |
Additional Inherited Members | |
Signals inherited from HeightSource | |
| void | patchHeightsReady (int requestId, const QList< float > &heights) |
| heights has (gridSize+1)^2 entries, row-major from the north-west corner | |
| void | patchHeightsFailed (int requestId) |
Static Public Attributes inherited from ProceduralHeightSource | |
| static constexpr int | kSynthGridSize = 33 |
| samples per edge of a synthesized tile | |
Protected Attributes inherited from HeightSource | |
| HeightField * | _heightField = nullptr |
| tile delivery target for requestTile (not owned) | |
z=0 everywhere (Milestone 1 default)
Definition at line 96 of file HeightSource.h.
|
overrideprotectedvirtual |
Height in meters at a world-space ground position.
Implements ProceduralHeightSource.
Definition at line 102 of file HeightSource.cc.
|
inlineoverridevirtual |
z=0 everywhere is already the empty field's estimate: inserting all-zero tiles would only churn the pyramid working set
Reimplemented from HeightSource.
Definition at line 105 of file HeightSource.h.