chai3d::cCollisionRecorder Class Reference

This class implements a collision detection recorder that stores all collision events that are reported by a collision detector. More...

#include <CCollisionBasics.h>

Public Member Functions

 cCollisionRecorder ()
 Constructor of cCollisionRecorder. More...
 
virtual ~cCollisionRecorder ()
 Destructor of cCollisionRecorder. More...
 
void clear ()
 This method clears all collision records. More...
 

Public Attributes

cCollisionEvent m_nearestCollision
 Nearest collision event from the start point of the collision segment. More...
 
std::vector< cCollisionEventm_collisions
 List of all detected collision events. More...
 

Detailed Description

This class implements a collision detection recorder that stores all collision events that are reported by a collision detector.

Constructor & Destructor Documentation

chai3d::cCollisionRecorder::cCollisionRecorder ( )
inline
virtual chai3d::cCollisionRecorder::~cCollisionRecorder ( )
inlinevirtual

Member Function Documentation

void chai3d::cCollisionRecorder::clear ( )
inline

Member Data Documentation

cCollisionEvent chai3d::cCollisionRecorder::m_nearestCollision
std::vector<cCollisionEvent> chai3d::cCollisionRecorder::m_collisions

The documentation for this class was generated from the following file: