This class implements a collision detector for class cGELWorld. More...
#include <CGELWorld.h>

Public Member Functions | |
| cGELWorldCollision (cGELWorld *a_gelWorld) | |
| Constructor of cGELWorldCollision. More... | |
| virtual | ~cGELWorldCollision () |
| Destructor of cGELWorldCollision. More... | |
| virtual void | initialize () |
| This method initialized the collision detector. More... | |
| virtual void | render () |
| This method renders the collision detector graphically. More... | |
| virtual bool | computeCollision (chai3d::cVector3d &a_segmentPointA, chai3d::cVector3d &a_segmentPointB, chai3d::cCollisionRecorder &a_recorder, chai3d::cCollisionSettings &a_settings) |
| This method computes all collisions between a segment passed as argument and the objects in this world. More... | |
Public Member Functions inherited from chai3d::cGenericCollision | |
| cGenericCollision () | |
| virtual | ~cGenericCollision () |
| virtual void | update () |
| virtual bool | computeCollision (cGenericObject *a_object, cVector3d &a_segmentPointA, cVector3d &a_segmentPointB, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings) |
| virtual void | render (cRenderOptions &a_options) |
| double | getBoundaryRadius () const |
| void | setDisplayDepth (const int a_depth) |
| double | getDisplayDepth () const |
Additional Inherited Members | |
Public Attributes inherited from chai3d::cGenericCollision | |
| cColorf | m_color |
Protected Attributes inherited from chai3d::cGenericCollision | |
| int | m_displayDepth |
| double | m_radiusAroundElements |
cGELWorldCollision implements a collision detector that supports deformable objects.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
This method checks if the given line segment intersects any object located inside the virtual world.
| a_segmentPointA | Initial point of segment. |
| a_segmentPointB | End point of segment. |
| a_recorder | Recorder which stores all collision events. |
| a_settings | Structure which contains some rules about how the collision detection should be performed. |