|
QFlightInstruments
|
#include <qfi_PFD.h>
Public Types | |
| enum | PressureUnit { STD = 0, MB, IN } |
Public Member Functions | |
| qfi_PFD (QWidget *parent=0) | |
| ~qfi_PFD () | |
| void | reinit () |
| void | update () |
| void | setRoll (float roll) |
| void | setPitch (float pitch) |
| void | setFlightPathMarker (float aoa, float sideslip, bool visible=true) |
| void | setSlipSkid (float slipSkid) |
| void | setTurnRate (float turnRate) |
| void | setBarH (float barH, bool visible=true) |
| void | setBarV (float barV, bool visible=true) |
| void | setDotH (float dotH, bool visible=true) |
| void | setDotV (float dotV, bool visible=true) |
| void | setAltitude (float altitude) |
| void | setPressure (float pressure, PressureUnit pressureUnit) |
| void | setAirspeed (float airspeed) |
| void | setMachNo (float machNo) |
| void | setHeading (float heading) |
| void | setClimbRate (float climbRate) |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) |
Primary Flight Display widget.
|
explicit |
Constructor.
| qfi_PFD::~qfi_PFD | ( | ) |
Destructor.
| void qfi_PFD::reinit | ( | ) |
Reinitiates widget.
|
protected |
|
inline |
| airspeed | (dimensionless numeric value) |
|
inline |
| altitude | (dimensionless numeric value) |
|
inline |
| normalized | horizontal deviation bar position (range from -1.0 to 1.0) |
| horizontal | deviation bar visibility |
|
inline |
| normalized | vertical deviation bar position (range from -1.0 to 1.0) |
| vertical | deviation bar visibility |
|
inline |
| climb | rate (dimensionless numeric value) |
|
inline |
| normalized | horizontal deviation dot position (range from -1.0 to 1.0) |
| horizontal | deviation dot visibility |
|
inline |
| normalized | vertical deviation dot position (range from -1.0 to 1.0) |
| vertical | deviation dot visibility |
|
inline |
| angle | of attack [deg] |
| angle | of sideslip [deg] |
| flight | path marker visibility |
|
inline |
| heading | [deg] |
|
inline |
| Mach | number |
|
inline |
| pitch | angle [deg] |
|
inline |
| pressure | (dimensionless numeric value) |
| pressure | unit according to GraphicsPFD::PressureUnit |
|
inline |
| roll | angle [deg] |
|
inline |
| normalized | slip or skid (range from -1.0 to 1.0) |
|
inline |
| normalized | turn rate (range from -1.0 to 1.0), hash marks positions are set to be -0.5 and 0.5 |
| void qfi_PFD::update | ( | ) |
Refreshes (redraws) widget.