2 #include <QPainterPath>
4 #include <Airports/airports_fwd.hxx>
5 #include <simgear/math/sg_geodesy.hxx>
7 class AirportDiagram : public QWidget
10 AirportDiagram(QWidget* pr);
12 void setAirport(FGAirportRef apt);
14 void addRunway(FGRunwayRef rwy);
15 void addParking(FGParking* park);
17 virtual void paintEvent(QPaintEvent* pe);
18 // wheel event for zoom
24 void extendBounds(const QPointF& p);
25 QPointF project(const SGGeod& geod) const;
28 void buildPavements();
30 FGAirportRef m_airport;
31 SGGeod m_projectionCenter;
41 QList<RunwayData> m_runways;
47 bool operator<(const TaxiwayData& other) const
49 return widthM < other.widthM;
53 QList<TaxiwayData> m_taxiways;
54 QList<QPainterPath> m_pavements;