QFlightInstruments
 All Classes Files Functions Enumerations Enumerator Macros
qfi_PFD Class Reference

#include <qfi_PFD.h>

Inheritance diagram for qfi_PFD:

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)
 

Detailed Description

Primary Flight Display widget.

Member Enumeration Documentation

Altimeter pressure units.

Enumerator
STD 

standard (displays STD instead of numerical value)

MB 

milibars

IN 

inches of mercury

Constructor & Destructor Documentation

qfi_PFD::qfi_PFD ( QWidget *  parent = 0)
explicit

Constructor.

qfi_PFD::~qfi_PFD ( )

Destructor.

Member Function Documentation

void qfi_PFD::reinit ( )

Reinitiates widget.

void qfi_PFD::resizeEvent ( QResizeEvent *  event)
protected
void qfi_PFD::setAirspeed ( float  airspeed)
inline
Parameters
airspeed(dimensionless numeric value)
void qfi_PFD::setAltitude ( float  altitude)
inline
Parameters
altitude(dimensionless numeric value)
void qfi_PFD::setBarH ( float  barH,
bool  visible = true 
)
inline
Parameters
normalizedhorizontal deviation bar position (range from -1.0 to 1.0)
horizontaldeviation bar visibility
void qfi_PFD::setBarV ( float  barV,
bool  visible = true 
)
inline
Parameters
normalizedvertical deviation bar position (range from -1.0 to 1.0)
verticaldeviation bar visibility
void qfi_PFD::setClimbRate ( float  climbRate)
inline
Parameters
climbrate (dimensionless numeric value)
void qfi_PFD::setDotH ( float  dotH,
bool  visible = true 
)
inline
Parameters
normalizedhorizontal deviation dot position (range from -1.0 to 1.0)
horizontaldeviation dot visibility
void qfi_PFD::setDotV ( float  dotV,
bool  visible = true 
)
inline
Parameters
normalizedvertical deviation dot position (range from -1.0 to 1.0)
verticaldeviation dot visibility
void qfi_PFD::setFlightPathMarker ( float  aoa,
float  sideslip,
bool  visible = true 
)
inline
Parameters
angleof attack [deg]
angleof sideslip [deg]
flightpath marker visibility
void qfi_PFD::setHeading ( float  heading)
inline
Parameters
heading[deg]
void qfi_PFD::setMachNo ( float  machNo)
inline
Parameters
Machnumber
void qfi_PFD::setPitch ( float  pitch)
inline
Parameters
pitchangle [deg]
void qfi_PFD::setPressure ( float  pressure,
PressureUnit  pressureUnit 
)
inline
Parameters
pressure(dimensionless numeric value)
pressureunit according to GraphicsPFD::PressureUnit
void qfi_PFD::setRoll ( float  roll)
inline
Parameters
rollangle [deg]
void qfi_PFD::setSlipSkid ( float  slipSkid)
inline
Parameters
normalizedslip or skid (range from -1.0 to 1.0)
void qfi_PFD::setTurnRate ( float  turnRate)
inline
Parameters
normalizedturn 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.


The documentation for this class was generated from the following files: