class AirDyno


Inheritance:


Public Fields

[more]vector<double> continuous_JOY_input
The input device is controlled outside
[more]vector<int> button_JOY_input
continuous inputs (from joystick axes)
[more]vector<int> button_KEY_input
discrete inputs (from joystick buttons)

Public Methods

[more] AirDyno(Atmosphere* atm)
[more]virtual ~AirDyno()
An AirDyno only is an AirDyno in an Atmosphere.
[more]inline void SetObject3D(Object3D* obj)
[more]inline void SetObject2D(Object2D* obj)
for 3D representation of aircraft
[more]inline void SetCamera3D(Camera3D* cam)
for HUD representation
[more]inline RigidBody* getRigidBody() const
Set companion Camera3D
[more]void Simulate(double deltaT)
[more]void Render()
Compute Dynamic and Kinematic motions
[more]virtual int LoadXML(char* file_name)
Load an airdyno from a XML file
[more]virtual int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
Parse an airdyno node inside a XML file
[more]inline void DrawHUD(bool b)

Protected Fields

[more]double dt
[more]RigidBody* rbody
Computes the Rigid Body dynamics.
[more]Quaternion Qphys_o3d
Output=Position and orientation
[more]AirDataSensor* ADSensor
With this, geometry can be defined in any axis
[more]Atmosphere* atmos
To compute aerodynamic angles
[more]Hud* HUD
3D stuff
[more]bool drawHUD
[more]Camera3D* pilot_camera
[more]Vector3D pilot_eye
[more]Object3D* obj3D

Protected Methods

[more]virtual void Controls() = 0
Pure virtual functions: To be derived to each specific AirDyno
[more]virtual void Kinematics() = 0
Computes all the Control actuations (mapping device inputs to kin/dyn inputs)
[more]virtual void Engines() = 0
Computes all the Kinematics motions before dynamic ones
[more]virtual void Aerodynamics() = 0
Computes the thrust/power of all engines
[more]virtual void GroundReactions() = 0
Computes the aerodynamic forces and moments.
[more]virtual void Dynamics() = 0
Computes the ground forces and moments
[more]virtual void UpdateHUD(void)
Pointer to a Companion 3D object for visualization
[more]void UpdateObject3D(void)
Set all data needed for HUD
[more]void UpdateCamera3D(void)
Update position and orientation of the Object3D from Rigidbody ones
[more]virtual void Kinematics3D() = 0
Update position and orientation of the Camera3D from current position and orientation


Documentation

o AirDyno(Atmosphere* atm)

ovirtual ~AirDyno()
An AirDyno only is an AirDyno in an Atmosphere. If Atmosphere does not exist, it is a RigidBody.

oinline void SetObject3D(Object3D* obj)

oinline void SetObject2D(Object2D* obj)
for 3D representation of aircraft

oinline void SetCamera3D(Camera3D* cam)
for HUD representation

oinline RigidBody* getRigidBody() const
Set companion Camera3D

ovoid Simulate(double deltaT)

ovoid Render()
Compute Dynamic and Kinematic motions

ovector<double> continuous_JOY_input
The input device is controlled outside

ovector<int> button_JOY_input
continuous inputs (from joystick axes)

ovector<int> button_KEY_input
discrete inputs (from joystick buttons)

ovirtual int LoadXML(char* file_name)
Load an airdyno from a XML file

ovirtual int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
Parse an airdyno node inside a XML file

oinline void DrawHUD(bool b)

odouble dt

ovirtual void Controls() = 0
Pure virtual functions: To be derived to each specific AirDyno

ovirtual void Kinematics() = 0
Computes all the Control actuations (mapping device inputs to kin/dyn inputs)

ovirtual void Engines() = 0
Computes all the Kinematics motions before dynamic ones

ovirtual void Aerodynamics() = 0
Computes the thrust/power of all engines

ovirtual void GroundReactions() = 0
Computes the aerodynamic forces and moments.

ovirtual void Dynamics() = 0
Computes the ground forces and moments

oRigidBody* rbody
Computes the Rigid Body dynamics.

oQuaternion Qphys_o3d
Output=Position and orientation

oAirDataSensor* ADSensor
With this, geometry can be defined in any axis

oAtmosphere* atmos
To compute aerodynamic angles

oHud* HUD
3D stuff

obool drawHUD

oCamera3D* pilot_camera

oVector3D pilot_eye

oObject3D* obj3D

ovirtual void UpdateHUD(void)
Pointer to a Companion 3D object for visualization

ovoid UpdateObject3D(void)
Set all data needed for HUD

ovoid UpdateCamera3D(void)
Update position and orientation of the Object3D from Rigidbody ones

ovirtual void Kinematics3D() = 0
Update position and orientation of the Camera3D from current position and orientation


Direct child classes:
RotorCraft
AirCraft

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.