Rise
The Vieneo Province
Loading...
Searching...
No Matches
AttitudeIndicator2 Class Reference

#include <Instrument.h>

Inheritance diagram for AttitudeIndicator2:
[legend]
Collaboration diagram for AttitudeIndicator2:
[legend]

Public Member Functions

 AttitudeIndicator2 (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
void Render () override
void FrameMove (float fElapsed) override
Public Member Functions inherited from Instrument
 Instrument (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font * > prmFonts)
void DrawText (const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, RiseMath::Color color, int font=-1, std::string elementName="", int width=0, int height=0) const
virtual bool HandleKeyPress (short key, bool shift)
virtual bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed)
virtual void OnPageChanged ()

Private Attributes

Sprite * artificialHorizon = nullptr
Sprite * commandBars = nullptr
Sprite * failFlagLocalizer = nullptr
Sprite * failFlagGlideslope = nullptr
Sprite * glideslopeBox = nullptr
Sprite * glideslopeBug = nullptr
Sprite * localizerBox = nullptr
Sprite * localizerBug = nullptr
Sprite * aoaHigh = nullptr
Sprite * aoa = nullptr
Sprite * aoaLow = nullptr
Sprite * reticle = nullptr
Sprite * vector = nullptr
Sprite * bankAngle = nullptr
Sprite * slipSkid = nullptr
Sprite * markerBeacon = nullptr
float roll = 0.0f
float pitch = 0.0f
int tvleft = 0
int tvright = 0
int tvTop = 0
int tvBottom = 0
float tvpitchscale = 0.0f
float tvvertoffset = 0.0f
float cbpitchscale = 0.0f
float cbvertoffset = 0.0f
int tvLeftRightMargins = 0
int tvTopBottomMargins = 0
float tvHalfHeight = 0.0f
RECT scissor_rect = {}
char lastAOA = 0
RiseMath::Vector3 reticleVec
RiseMath::Vector3 velocityVec
bool localizerAlive = false
bool glideslopeAlive = false
float markerBeaconTime = 0.0f
DWORD markerBeaconColor = 0
int markerBeaconBits = 1

Additional Inherited Members

Public Attributes inherited from Instrument
std::string profileName = "Instrument"
Protected Attributes inherited from Instrument
int x = 0
int y = 0
float xScale = 1.0f
float yScale = 1.0f
DeviceObject * pDevice = nullptr
Bus * bus = nullptr
Logger * logger = nullptr
UINT defaultFont = 0
bool cacheFixedText = false
int uiRow = 0
bool showMenu = false
int uiMenuColumn = -1

Detailed Description

Definition at line 537 of file Instrument.h.

Constructor & Destructor Documentation

◆ AttitudeIndicator2()

AttitudeIndicator2::AttitudeIndicator2 ( int prmX,
int prmY,
float prmXScale,
float prmYScale,
Bus * prmBus,
Logger * prmLogger,
DeviceObject * prmDevice,
std::vector< Font * > prmFonts )

Definition at line 3 of file AttitudeIndicator2.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ FrameMove()

void AttitudeIndicator2::FrameMove ( float fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 144 of file AttitudeIndicator2.cpp.

Here is the call graph for this function:

◆ Render()

void AttitudeIndicator2::Render ( )
overridevirtual

Implements Instrument.

Definition at line 64 of file AttitudeIndicator2.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ aoa

Sprite* AttitudeIndicator2::aoa = nullptr
private

Definition at line 548 of file Instrument.h.

◆ aoaHigh

Sprite* AttitudeIndicator2::aoaHigh = nullptr
private

Definition at line 547 of file Instrument.h.

◆ aoaLow

Sprite* AttitudeIndicator2::aoaLow = nullptr
private

Definition at line 549 of file Instrument.h.

◆ artificialHorizon

Sprite* AttitudeIndicator2::artificialHorizon = nullptr
private

Definition at line 539 of file Instrument.h.

◆ bankAngle

Sprite* AttitudeIndicator2::bankAngle = nullptr
private

Definition at line 552 of file Instrument.h.

◆ cbpitchscale

float AttitudeIndicator2::cbpitchscale = 0.0f
private

Definition at line 563 of file Instrument.h.

◆ cbvertoffset

float AttitudeIndicator2::cbvertoffset = 0.0f
private

Definition at line 564 of file Instrument.h.

◆ commandBars

Sprite* AttitudeIndicator2::commandBars = nullptr
private

Definition at line 540 of file Instrument.h.

◆ failFlagGlideslope

Sprite* AttitudeIndicator2::failFlagGlideslope = nullptr
private

Definition at line 542 of file Instrument.h.

◆ failFlagLocalizer

Sprite* AttitudeIndicator2::failFlagLocalizer = nullptr
private

Definition at line 541 of file Instrument.h.

◆ glideslopeAlive

bool AttitudeIndicator2::glideslopeAlive = false
private

Definition at line 572 of file Instrument.h.

◆ glideslopeBox

Sprite* AttitudeIndicator2::glideslopeBox = nullptr
private

Definition at line 543 of file Instrument.h.

◆ glideslopeBug

Sprite* AttitudeIndicator2::glideslopeBug = nullptr
private

Definition at line 544 of file Instrument.h.

◆ lastAOA

char AttitudeIndicator2::lastAOA = 0
private

Definition at line 568 of file Instrument.h.

◆ localizerAlive

bool AttitudeIndicator2::localizerAlive = false
private

Definition at line 571 of file Instrument.h.

◆ localizerBox

Sprite* AttitudeIndicator2::localizerBox = nullptr
private

Definition at line 545 of file Instrument.h.

◆ localizerBug

Sprite* AttitudeIndicator2::localizerBug = nullptr
private

Definition at line 546 of file Instrument.h.

◆ markerBeacon

Sprite* AttitudeIndicator2::markerBeacon = nullptr
private

Definition at line 554 of file Instrument.h.

◆ markerBeaconBits

int AttitudeIndicator2::markerBeaconBits = 1
private

Definition at line 575 of file Instrument.h.

◆ markerBeaconColor

DWORD AttitudeIndicator2::markerBeaconColor = 0
private

Definition at line 574 of file Instrument.h.

◆ markerBeaconTime

float AttitudeIndicator2::markerBeaconTime = 0.0f
private

Definition at line 573 of file Instrument.h.

◆ pitch

float AttitudeIndicator2::pitch = 0.0f
private

Definition at line 556 of file Instrument.h.

◆ reticle

Sprite* AttitudeIndicator2::reticle = nullptr
private

Definition at line 550 of file Instrument.h.

◆ reticleVec

RiseMath::Vector3 AttitudeIndicator2::reticleVec
private

Definition at line 569 of file Instrument.h.

◆ roll

float AttitudeIndicator2::roll = 0.0f
private

Definition at line 555 of file Instrument.h.

◆ scissor_rect

RECT AttitudeIndicator2::scissor_rect = {}
private

Definition at line 567 of file Instrument.h.

◆ slipSkid

Sprite* AttitudeIndicator2::slipSkid = nullptr
private

Definition at line 553 of file Instrument.h.

◆ tvBottom

int AttitudeIndicator2::tvBottom = 0
private

Definition at line 560 of file Instrument.h.

◆ tvHalfHeight

float AttitudeIndicator2::tvHalfHeight = 0.0f
private

Definition at line 566 of file Instrument.h.

◆ tvleft

int AttitudeIndicator2::tvleft = 0
private

Definition at line 557 of file Instrument.h.

◆ tvLeftRightMargins

int AttitudeIndicator2::tvLeftRightMargins = 0
private

Definition at line 565 of file Instrument.h.

◆ tvpitchscale

float AttitudeIndicator2::tvpitchscale = 0.0f
private

Definition at line 561 of file Instrument.h.

◆ tvright

int AttitudeIndicator2::tvright = 0
private

Definition at line 558 of file Instrument.h.

◆ tvTop

int AttitudeIndicator2::tvTop = 0
private

Definition at line 559 of file Instrument.h.

◆ tvTopBottomMargins

int AttitudeIndicator2::tvTopBottomMargins = 0
private

Definition at line 565 of file Instrument.h.

◆ tvvertoffset

float AttitudeIndicator2::tvvertoffset = 0.0f
private

Definition at line 562 of file Instrument.h.

◆ vector

Sprite* AttitudeIndicator2::vector = nullptr
private

Definition at line 551 of file Instrument.h.

◆ velocityVec

RiseMath::Vector3 AttitudeIndicator2::velocityVec
private

Definition at line 570 of file Instrument.h.


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