Cyclone Cyclone: cyclone::AngledAero Class Reference

cyclone::AngledAero Class Reference

A force generator with an aerodynamic surface that can be re-oriented relative to its rigid body. More...

#include <fgen.h>

Inheritance diagram for cyclone::AngledAero:

Inheritance graph
[legend]
Collaboration diagram for cyclone::AngledAero:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AngledAero (const Matrix3 &tensor, const Vector3 &position, const Vector3 *windspeed)
 Creates a new aerodynamic surface with the given properties.
void setOrientation (const Quaternion &quat)
 Sets the relative orientation of the aerodynamic surface, relative to the rigid body it is attached to.
virtual void updateForce (RigidBody *body, real duration)
 Applies the force to the given rigid body.

Detailed Description

A force generator with an aerodynamic surface that can be re-oriented relative to its rigid body.

This derives the


Constructor & Destructor Documentation

cyclone::AngledAero::AngledAero const Matrix3 tensor,
const Vector3 position,
const Vector3 windspeed
 

Creates a new aerodynamic surface with the given properties.


Member Function Documentation

void cyclone::AngledAero::setOrientation const Quaternion quat  ) 
 

Sets the relative orientation of the aerodynamic surface, relative to the rigid body it is attached to.

Note that this doesn't affect the point of connection of the surface to the body.

virtual void cyclone::AngledAero::updateForce RigidBody body,
real  duration
[virtual]
 

Applies the force to the given rigid body.

Reimplemented from cyclone::Aero.


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