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

ani::AccelerationOperator< __EntityType > Class Template Reference

FORCE by AccelerationOperator. More...

#include <AccelerationOperator.h>

Inheritance diagram for ani::AccelerationOperator< __EntityType >:

ani::GlobalForceOperator< __EntityType > ani::GlobalOperator< __EntityType > ani::Operator< __EntityType > ani::Memory ani::GravityOperator< __EntityType > List of all members.

Public Methods

 AccelerationOperator ()
 AccelerationOperator (float x, float y, float z)
virtual ~AccelerationOperator ()
void setAcceleration (const gmtl::Vec3f &acceleration)
const gmtl::Vec3f & getAcceleration () const
virtual void exec (DynamicSystem< __EntityType > &ps, float timeDelta)
 apply this force function to the particle. More...

Detailed Description

template<class __EntityType>
class ani::AccelerationOperator< __EntityType >

FORCE by AccelerationOperator.

specify an acceleration, will compute the force for each particle to accelerate it that fast

Definition at line 17 of file AccelerationOperator.h.

Constructor & Destructor Documentation

template<class __EntityType>
ani::AccelerationOperator< __EntityType >::AccelerationOperator   [inline]

Definition at line 20 of file AccelerationOperator.h.

template<class __EntityType>
ani::AccelerationOperator< __EntityType >::AccelerationOperator float    x,
float    y,
float    z

Definition at line 21 of file AccelerationOperator.h.

template<class __EntityType>
virtual ani::AccelerationOperator< __EntityType >::~AccelerationOperator   [inline, virtual]

Definition at line 25 of file AccelerationOperator.h.

Member Function Documentation

template<class __EntityType>
void ani::AccelerationOperator< __EntityType >::setAcceleration const gmtl::Vec3f &    acceleration [inline]

Definition at line 29 of file AccelerationOperator.h.

template<class __EntityType>
const gmtl::Vec3f& ani::AccelerationOperator< __EntityType >::getAcceleration   const [inline]

Definition at line 34 of file AccelerationOperator.h.

template<class __EntityType>
void ani::AccelerationOperator< __EntityType >::exec DynamicSystem< __EntityType > &    ps,
float    timeDelta

apply this force function to the particle.

Reimplemented from ani::GlobalForceOperator< __EntityType >.

Definition at line 45 of file AccelerationOperator.h.

References ani::DynamicSystem< __EntityType >::entities(), ani::GlobalOperator< __EntityType >::EntityTypePtr, and ani::GlobalOperator< __EntityType >::isIgnored().

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