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

ani::SpringForceOperator< __EntityType > Class Template Reference

#include <SpringForceOperator.h>

Inheritance diagram for ani::SpringForceOperator< __EntityType >:

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

Public Types

typedef boost::shared_ptr<
__EntityType > 

Public Methods

 SpringForceOperator ()
virtual ~SpringForceOperator ()
void setEntities (EntityTypePtr a, EntityTypePtr b)
void setSpringConstant (float ks)
void setDampeningConstant (float kd)
void setRestLength (float length)
virtual void exec (DynamicSystem< __EntityType > &ps, float timeDelta)

template<class __EntityType>
class ani::SpringForceOperator< __EntityType >

Member Typedef Documentation

template<class __EntityType>
typedef boost::shared_ptr<__EntityType> ani::SpringForceOperator< __EntityType >::EntityTypePtr

Definition at line 17 of file SpringForceOperator.h.

Referenced by ani::SpringForceOperator< __EntityType >::setEntities().

Constructor & Destructor Documentation

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

Definition at line 20 of file SpringForceOperator.h.

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

Definition at line 21 of file SpringForceOperator.h.

Member Function Documentation

template<class __EntityType>
void ani::SpringForceOperator< __EntityType >::setEntities EntityTypePtr    a,
EntityTypePtr    b

Definition at line 26 of file SpringForceOperator.h.

References ani::SpringForceOperator< __EntityType >::EntityTypePtr.

template<class __EntityType>
void ani::SpringForceOperator< __EntityType >::setSpringConstant float    ks [inline]

Definition at line 32 of file SpringForceOperator.h.

template<class __EntityType>
void ani::SpringForceOperator< __EntityType >::setDampeningConstant float    kd [inline]

Definition at line 33 of file SpringForceOperator.h.

template<class __EntityType>
void ani::SpringForceOperator< __EntityType >::setRestLength float    length [inline]

Definition at line 34 of file SpringForceOperator.h.

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

Implements ani::BinaryForceOperator< __EntityType >.

Definition at line 45 of file SpringForceOperator.h.

References ani::DynamicSystem< __EntityType >::remove().

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