QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SurfaceAnalysis::ViewState Struct Reference

#include <SurfaceAnalysis.h>

Public Attributes

QList< QPointF > groundSamples
 world points visible on screen; must have rendered coverage
 
QPointF cameraGround
 camera ground position (world meters)
 
double cameraHeight = 0.0
 camera height above the ground plane (scene units); 0 skips the camera check
 
double heightScale = 0.0
 vertical scale applied to patch heights; 0 skips the camera check
 

Detailed Description

Camera-view context for the checks that need more than the patch set. groundSamples come from unprojecting screen points, so they catch holes the model's own visible-region estimate cannot see. When cameraGround, cameraHeight and heightScale are set, each sample is checked along the full eye-to-ground sightline, not just at the flat-ground hit point.

Definition at line 65 of file SurfaceAnalysis.h.

Member Data Documentation

◆ cameraGround

QPointF SurfaceAnalysis::ViewState::cameraGround

camera ground position (world meters)

Definition at line 68 of file SurfaceAnalysis.h.

Referenced by SurfaceAnalysis::analyze(), and SurfacePatchModel::analyzeSurface().

◆ cameraHeight

double SurfaceAnalysis::ViewState::cameraHeight = 0.0

camera height above the ground plane (scene units); 0 skips the camera check

Definition at line 69 of file SurfaceAnalysis.h.

Referenced by SurfaceAnalysis::analyze(), and SurfacePatchModel::analyzeSurface().

◆ groundSamples

QList<QPointF> SurfaceAnalysis::ViewState::groundSamples

world points visible on screen; must have rendered coverage

Definition at line 67 of file SurfaceAnalysis.h.

Referenced by SurfaceAnalysis::analyze(), and SurfacePatchModel::analyzeSurface().

◆ heightScale

double SurfaceAnalysis::ViewState::heightScale = 0.0

vertical scale applied to patch heights; 0 skips the camera check

Definition at line 70 of file SurfaceAnalysis.h.

Referenced by SurfaceAnalysis::analyze(), and SurfacePatchModel::analyzeSurface().


The documentation for this struct was generated from the following file: