46 #ifndef CCollisionBruteH 47 #define CCollisionBruteH This class implements a 3D vector.
Definition: CVector3d.h:88
Implements general math utility functions.
Implements an array of 3D vertices.
Implements an abstract class for describing elements composed of vertices.
This class implements a base class for collision detection.
Definition: CGenericCollision.h:101
Implements a base class for programming collision detectors that identify intersections between segme...
This class implements a base class for all 2D or 3D objects in CHAI3D.
Definition: CGenericObject.h:112
This class implements a collision detection recorder that stores all collision events that are report...
Definition: CCollisionBasics.h:185
This structure stores the collision settings that are passed to a collision detector when querying fo...
Definition: CCollisionBasics.h:242
This class implements a brute force approach for collision detection.
Definition: CCollisionBrute.h:84
cCollisionBrute(cGenericArrayPtr a_entities)
Constructor of cCollisionBrute.
Definition: CCollisionBrute.cpp:62
Definition: CAudioBuffer.cpp:56
std::shared_ptr< cGenericArray > cGenericArrayPtr
Definition: CGenericArray.h:70
virtual ~cCollisionBrute()
Destructor of cCollisionBrute.
Definition: CCollisionBrute.h:96
cGenericArrayPtr m_elements
Pointer to the list of elements (points, segments, triangles).
Definition: CCollisionBrute.h:120
virtual bool computeCollision(cGenericObject *a_object, cVector3d &a_segmentPointA, cVector3d &a_segmentPointB, cCollisionRecorder &a_recorder, cCollisionSettings &a_settings)
This method computes all collisions between a segment passed as argument and the attributed 3D object...
Definition: CCollisionBrute.cpp:89