25 Q_PROPERTY(
double visibleWidth MEMBER _visibleWidth NOTIFY visibleWidthChanged)
26 Q_PROPERTY(
MissionController* missionController READ missionController WRITE setMissionController NOTIFY missionControllerChanged)
27 Q_PROPERTY(
double pixelsPerMeter MEMBER _pixelsPerMeter NOTIFY pixelsPerMeterChanged)
28 Q_PROPERTY(
double minAMSLAlt MEMBER _minAMSLAlt NOTIFY minAMSLAltChanged)
29 Q_PROPERTY(
double maxAMSLAlt MEMBER _maxAMSLAlt NOTIFY maxAMSLAltChanged)
36 QSGNode* updatePaintNode(QSGNode* oldNode, QQuickItem::UpdatePaintNodeData* updatePaintNodeData);
39 void componentComplete(
void)
final;
50 void _newVisualItems (
void);
53 void _createGeometry (QSGGeometryNode*& geometryNode, QSGGeometry*& geometry, QSGGeometry::DrawingMode drawingMode,
const QColor& color);
54 void _updateSegmentCounts (
FlightPathSegment* segment,
int& cFlightProfileSegments,
int& cTerrainPoints,
int& cMissingTerrainSegments,
int& cTerrainCollisionSegments,
double& minTerrainHeight,
double& maxTerrainHeight);
55 void _addTerrainProfileSegment (
FlightPathSegment* segment,
double currentDistance,
double amslAltRange, QSGGeometry::Point2D* terrainProfileVertices,
int& terrainVertexIndex);
56 void _addMissingTerrainSegment (
FlightPathSegment* segment,
double currentDistance, QSGGeometry::Point2D* missingTerrainVertices,
int& missingTerrainVertexIndex);
57 void _addTerrainCollisionSegment (
FlightPathSegment* segment,
double currentDistance,
double amslAltRange, QSGGeometry::Point2D* terrainCollisionVertices,
int& terrainCollisionVertexIndex);
58 void _addFlightProfileSegment (
FlightPathSegment* segment,
double currentDistance,
double amslAltRange, QSGGeometry::Point2D* flightProfileVertices,
int& flightProfileVertexIndex);
64 double _visibleWidth = 0;
65 double _pixelsPerMeter = 0;
66 double _minAMSLAlt = 0;
67 double _maxAMSLAlt = 0;
69 static const int _lineWidth = 7;