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

ani::CurrentOperator< __EntityType > Class Template Reference

CurrentOperator (FORCE by some moving fluid). More...

#include <CurrentOperator.h>

Inheritance diagram for ani::CurrentOperator< __EntityType >:

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

Public Methods

 CurrentOperator ()
virtual ~CurrentOperator ()
void setSpeed (const gmtl::Vec3f &speed)
virtual void exec (DynamicSystem< __EntityType > &ps, float timeDelta)
 apply this force function to the particle. More...


Detailed Description

template<class __EntityType>
class ani::CurrentOperator< __EntityType >

CurrentOperator (FORCE by some moving fluid).

FORCE by some fluid (i.e. air, water, goo) accelerates particle until it reaches a certain velocity

Todo:
add viscosity, or rate of acceleration...

Definition at line 18 of file CurrentOperator.h.


Constructor & Destructor Documentation

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

Definition at line 21 of file CurrentOperator.h.

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

Definition at line 25 of file CurrentOperator.h.


Member Function Documentation

template<class __EntityType>
void ani::CurrentOperator< __EntityType >::setSpeed const gmtl::Vec3f &    speed [inline]
 

Definition at line 29 of file CurrentOperator.h.

template<class __EntityType>
void ani::CurrentOperator< __EntityType >::exec DynamicSystem< __EntityType > &    ps,
float    timeDelta
[virtual]
 

apply this force function to the particle.

Reimplemented from ani::GlobalForceOperator< __EntityType >.

Definition at line 43 of file CurrentOperator.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