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

ani::GlobalForceOperator< __EntityType > Class Template Reference

FORCE A basic force, will apply it's force to all particles in the system. More...

#include <GlobalForceOperator.h>

Inheritance diagram for ani::GlobalForceOperator< __EntityType >:

ani::GlobalOperator< __EntityType > ani::Operator< __EntityType > ani::Memory ani::AccelerationOperator< __EntityType > ani::CurrentOperator< __EntityType > ani::ViscousDragOperator< __EntityType > ani::GravityOperator< __EntityType > List of all members.

Public Methods

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

Detailed Description

template<class __EntityType>
class ani::GlobalForceOperator< __EntityType >

FORCE A basic force, will apply it's force to all particles in the system.

Definition at line 16 of file GlobalForceOperator.h.

Constructor & Destructor Documentation

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

Definition at line 19 of file GlobalForceOperator.h.

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

Definition at line 20 of file GlobalForceOperator.h.

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

Definition at line 21 of file GlobalForceOperator.h.

Member Function Documentation

template<class __EntityType>
void ani::GlobalForceOperator< __EntityType >::setForce const gmtl::Vec3f &    force [inline]

Definition at line 22 of file GlobalForceOperator.h.

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

apply this force function to the particle.

Implements ani::Operator< __EntityType >.

Reimplemented in ani::AccelerationOperator< __EntityType >, ani::CurrentOperator< __EntityType >, and ani::ViscousDragOperator< __EntityType >.

Definition at line 33 of file GlobalForceOperator.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:07 2002 for Animaniac by doxygen1.2.15