|
QGroundControl
Ground Control Station for MAVLink Drones
|
Classes | |
| struct | BadHeights |
| struct | Hole |
| struct | Report |
| struct | Seam |
| struct | ViewState |
Enumerations | |
| enum class | SeamCause { PendingFlat , DegradedFlat , LodTJunction , SameZoomMismatch } |
| enum class | HoleCause { NoPatch , SuppressedCovered , ElevatedTerrainCulled } |
Functions | |
| QString | seamCauseDescription (SeamCause cause) |
| QString | holeCauseDescription (HoleCause cause) |
| Report | analyze (const QList< SurfaceModel::Patch > &patches, int gridSize, const ViewState &view, double minStep) |
Diagnostic pass over the rendered patch set: finds anything visibly wrong with the surface and classifies why it exists. Checks:
|
strong |
Definition at line 27 of file SurfaceAnalysis.h.
|
strong |
Definition at line 19 of file SurfaceAnalysis.h.
| Report SurfaceAnalysis::analyze | ( | const QList< SurfaceModel::Patch > & | patches, |
| int | gridSize, | ||
| const ViewState & | view, | ||
| double | minStep = 1.0 |
||
| ) |
Analyze the given patch set (SurfaceModel::patches()). Covered patches do not render and cannot close holes; seams below minStep meters are ignored.
Definition at line 373 of file SurfaceAnalysis.cc.
References SurfaceAnalysis::Report::cameraBelowSurface, SurfaceAnalysis::Report::cameraChecked, SurfaceAnalysis::ViewState::cameraGround, SurfaceAnalysis::ViewState::cameraHeight, SurfaceAnalysis::Report::cameraHeight, SurfaceAnalysis::Report::degraded, SurfaceAnalysis::ViewState::groundSamples, SurfaceAnalysis::ViewState::heightScale, SurfaceModel::Patch::key, TileMath::kMinZoom, SurfaceAnalysis::Report::maxSurfaceNearCamera, SurfaceAnalysis::Report::minStep, SurfaceAnalysis::Report::pending, SurfaceAnalysis::Report::rendered, SurfaceAnalysis::Report::seams, SurfaceAnalysis::Report::surfaceAtCamera, SurfaceAnalysis::Report::surfaceUnderCamera, TileMath::tileMinCorner(), TileMath::tileSpanAtZoom(), TileMath::worldToGeo(), TileMath::TileKey::x, TileMath::TileKey::y, and TileMath::TileKey::zoom.
Referenced by SurfacePatchModel::analyzeSurface().
| QString SurfaceAnalysis::holeCauseDescription | ( | HoleCause | cause | ) |
Definition at line 254 of file SurfaceAnalysis.cc.
References ElevatedTerrainCulled, NoPatch, and SuppressedCovered.
Referenced by SurfaceAnalysis::Report::text().
| QString SurfaceAnalysis::seamCauseDescription | ( | SeamCause | cause | ) |
Definition at line 238 of file SurfaceAnalysis.cc.
References DegradedFlat, LodTJunction, PendingFlat, and SameZoomMismatch.
Referenced by SurfaceAnalysis::Report::text().