Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

PerceptorHandler Class Reference

CollisionHandler that passes collision information on to a CollisionPerceptor. More...

#include <perceptorhandler.h>

Inheritance diagram for PerceptorHandler:

Inheritance graph
[legend]
Collaboration diagram for PerceptorHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PerceptorHandler ()
virtual ~PerceptorHandler ()
virtual void HandleCollision (boost::shared_ptr< oxygen::Collider > collidee, dContact &contact)
 searches for a CollisionPerceptor below the closest Transform node on the way up the hierarchy and notifies it that a collision has occured.

Detailed Description

CollisionHandler that passes collision information on to a CollisionPerceptor.

Definition at line 30 of file perceptorhandler.h.


Constructor & Destructor Documentation

PerceptorHandler::PerceptorHandler  )  [inline]
 

Definition at line 33 of file perceptorhandler.h.

virtual PerceptorHandler::~PerceptorHandler  )  [inline, virtual]
 

Definition at line 34 of file perceptorhandler.h.


Member Function Documentation

void PerceptorHandler::HandleCollision boost::shared_ptr< oxygen::Collider collidee,
dContact &  contact
[virtual]
 

searches for a CollisionPerceptor below the closest Transform node on the way up the hierarchy and notifies it that a collision has occured.

Parameters:
collidee is the geom ID of the colliders collision partner
holds the contact points between the two affected geoms as returned from the ODE dCollide function

Implements oxygen::CollisionHandler.

Definition at line 32 of file perceptorhandler.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 15:39:43 2006 for rcssserver3d by  doxygen 1.4.4