Cyclone | Cyclone: cyclone::Aero Class Reference |
#include <fgen.h>
Inheritance diagram for cyclone::Aero:
Public Member Functions | |
Aero (const Matrix3 &tensor, const Vector3 &position, const Vector3 *windspeed) | |
Creates a new aerodynamic force generator with the given properties. | |
virtual void | updateForce (RigidBody *body, real duration) |
Applies the force to the given rigid body. | |
Protected Member Functions | |
void | updateForceFromTensor (RigidBody *body, real duration, const Matrix3 &tensor) |
Uses an explicit tensor matrix to update the force on the given rigid body. | |
Protected Attributes | |
Matrix3 | tensor |
Holds the aerodynamic tensor for the surface in body space. | |
Vector3 | position |
Holds the relative position of the aerodynamic surface in body coordinates. | |
const Vector3 * | windspeed |
Holds a pointer to a vector containing the windspeed of the environment. |
|
Creates a new aerodynamic force generator with the given properties.
|
|
Applies the force to the given rigid body.
Implements cyclone::ForceGenerator. Reimplemented in cyclone::AeroControl, and cyclone::AngledAero. |
|
Uses an explicit tensor matrix to update the force on the given rigid body. This is exactly the same as for updateForce only it takes an explicit tensor. |
|
Holds the relative position of the aerodynamic surface in body coordinates.
|
|
Holds the aerodynamic tensor for the surface in body space.
|
|
Holds a pointer to a vector containing the windspeed of the environment. This is easier than managing a separate windspeed vector per generator and having to update it manually as the wind changes. |
© 2000-2003 Icosagon. All Rights Reserved.
Distributed under licence.
Cyclone Version 2.0.5 (Documentation generated Fri Nov 10 20:44:22 2006). |