Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gator::Acceleration Class Reference

#include <AccelerateOperator.h>

Inheritance diagram for gator::Acceleration:

ani::Operator< ani::Body > ani::Memory gator::Gravity List of all members.

Public Types

typedef boost::shared_ptr<

Public Methods

 Acceleration ()
 Acceleration (float x, float y, float z)
virtual ~Acceleration ()
void setAcceleration (const gmtl::Vec3f &acceleration)
virtual void exec (ani::DynamicSystem< ani::Body > &ps, float timeDelta)

Member Typedef Documentation

typedef boost::shared_ptr<ani::Body> gator::Acceleration::EntityTypePtr

Definition at line 14 of file AccelerateOperator.h.

Constructor & Destructor Documentation

gator::Acceleration::Acceleration   [inline]

Definition at line 17 of file AccelerateOperator.h.

References ani::Operator< ani::Body >::Operator().

gator::Acceleration::Acceleration float    x,
float    y,
float    z

Definition at line 21 of file AccelerateOperator.h.

References ani::Operator< ani::Body >::Operator().

virtual gator::Acceleration::~Acceleration   [inline, virtual]

Definition at line 25 of file AccelerateOperator.h.

Member Function Documentation

void gator::Acceleration::setAcceleration const gmtl::Vec3f &    acceleration [inline]

Definition at line 29 of file AccelerateOperator.h.

virtual void gator::Acceleration::exec ani::DynamicSystem< ani::Body > &    ps,
float    timeDelta
[inline, virtual]

Implements ani::Operator< ani::Body >.

Definition at line 35 of file AccelerateOperator.h.

References ani::Body::applyForce(), ani::DynamicSystem< __EntityType >::entities(), and ani::Body::mass().

The documentation for this class was generated from the following file:
Generated on Wed Jun 12 01:54:08 2002 for Animaniac by doxygen1.2.15