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

gator::GlueOperator Class Reference

GlueOperator glues two entities to each other. More...

#include <GlueOperator.h>

Inheritance diagram for gator::GlueOperator:

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

Public Types

typedef boost::shared_ptr<
ani::Body
EntityTypePtr

Public Methods

 GlueOperator (EntityTypePtr &e1, gmtl::Vec3f pos1, EntityTypePtr &e2, gmtl::Vec3f pos2)
virtual ~GlueOperator ()
void setEntities (EntityTypePtr &e1, gmtl::Vec3f pos1, EntityTypePtr &e2, gmtl::Vec3f pos2)
 . More...

virtual void exec (ani::DynamicSystem< ani::Body > &ps, float timeDelta)
 apply this force function to the particle. More...


Detailed Description

GlueOperator glues two entities to each other.

forces applied to one affects the other.

Definition at line 12 of file GlueOperator.h.


Member Typedef Documentation

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

Definition at line 15 of file GlueOperator.h.

Referenced by GlueOperator(), and setEntities().


Constructor & Destructor Documentation

gator::GlueOperator::GlueOperator EntityTypePtr   e1,
gmtl::Vec3f    pos1,
EntityTypePtr   e2,
gmtl::Vec3f    pos2
[inline]
 

Definition at line 18 of file GlueOperator.h.

References EntityTypePtr, and ani::Operator< ani::Body >::Operator().

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

Definition at line 26 of file GlueOperator.h.


Member Function Documentation

void gator::GlueOperator::setEntities EntityTypePtr   e1,
gmtl::Vec3f    pos1,
EntityTypePtr   e2,
gmtl::Vec3f    pos2
[inline]
 

.

Definition at line 31 of file GlueOperator.h.

References EntityTypePtr.

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

apply this force function to the particle.

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

Definition at line 42 of file GlueOperator.h.


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