Rise
The Vieneo Province
Orbit Class Reference

#include <Instrument.h>

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

Public Member Functions

 Orbit (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, D3DXCOLOR color, int font=-1, std::string elementName="", int width=0, int height=0)
 
virtual bool HandleKeyPress (short key, bool shift)
 
virtual void OnPageChanged ()
 

Private Attributes

float radians = 0.0f
 
WCHAR label [7] = { 0 }
 
D3DXVECTOR3 rx = centerC
 
D3DXVECTOR3 vx = centerC
 
D3DXVECTOR3 ex = centerC
 
D3DXVECTOR3 tv = centerC
 
D3DXVECTOR3 hx = centerC
 
D3DXVECTOR3 nx = centerC
 
D3DXVECTOR3 oldposition = centerC
 
D3DXVECTOR3 oldvelocity = centerC
 
float ec = 0.0f
 
float tp = 0.0f
 
float aa = 0.0f
 
float ap = 0.0f
 
float vo = 0.0f
 
float ix = 0.0f
 
float halfsec = 0.0f
 

Additional Inherited Members

- Protected Attributes inherited from Instrument
int x = 0
 
int y = 0
 
float xScale = 1.0f
 
float yScale = 1.0f
 
DeviceObjectpDevice = nullptr
 
Busbus = nullptr
 
Loggerlogger = nullptr
 
UINT defaultFont = 0
 
int uiRow = 0
 
bool showMenu = false
 
int uiMenuColumn = -1
 

Detailed Description

Definition at line 326 of file Instrument.h.

Constructor & Destructor Documentation

◆ Orbit()

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

Definition at line 4 of file Orbit.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ FrameMove()

void Orbit::FrameMove ( float  fElapsed)
overridevirtual

Reimplemented from Instrument.

Definition at line 92 of file Orbit.cpp.

◆ Render()

void Orbit::Render ( )
overridevirtual

Implements Instrument.

Definition at line 11 of file Orbit.cpp.

Member Data Documentation

◆ aa

float Orbit::aa = 0.0f
private

Definition at line 336 of file Instrument.h.

◆ ap

float Orbit::ap = 0.0f
private

Definition at line 337 of file Instrument.h.

◆ ec

float Orbit::ec = 0.0f
private

Definition at line 334 of file Instrument.h.

◆ ex

D3DXVECTOR3 Orbit::ex = centerC
private

Definition at line 331 of file Instrument.h.

◆ halfsec

float Orbit::halfsec = 0.0f
private

Definition at line 340 of file Instrument.h.

◆ hx

D3DXVECTOR3 Orbit::hx = centerC
private

Definition at line 331 of file Instrument.h.

◆ ix

float Orbit::ix = 0.0f
private

Definition at line 339 of file Instrument.h.

◆ label

WCHAR Orbit::label[7] = { 0 }
private

Definition at line 329 of file Instrument.h.

◆ nx

D3DXVECTOR3 Orbit::nx = centerC
private

Definition at line 331 of file Instrument.h.

◆ oldposition

D3DXVECTOR3 Orbit::oldposition = centerC
private

Definition at line 332 of file Instrument.h.

◆ oldvelocity

D3DXVECTOR3 Orbit::oldvelocity = centerC
private

Definition at line 333 of file Instrument.h.

◆ radians

float Orbit::radians = 0.0f
private

Definition at line 328 of file Instrument.h.

◆ rx

D3DXVECTOR3 Orbit::rx = centerC
private

Definition at line 331 of file Instrument.h.

◆ tp

float Orbit::tp = 0.0f
private

Definition at line 335 of file Instrument.h.

◆ tv

D3DXVECTOR3 Orbit::tv = centerC
private

Definition at line 331 of file Instrument.h.

◆ vo

float Orbit::vo = 0.0f
private

Definition at line 338 of file Instrument.h.

◆ vx

D3DXVECTOR3 Orbit::vx = centerC
private

Definition at line 331 of file Instrument.h.


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