Emergency 20 Dokumentation  4.2.0
qsf::ai::voronoi::ContactTestGridBlocker Class Reference

#include <ContactTestGridBlocker.h>

Inheritance diagram for qsf::ai::voronoi::ContactTestGridBlocker:

Public Member Functions

 ContactTestGridBlocker (DistanceGrid &grid, const GridConfiguration &gridConfig, const HeightRestriction &restriction, Map &map, int walkableLevel, bool testAtTerrainHeight, short avoidCollisionFilter, short requiredCollisionFilter)
void addOuterBorderObstacle ()
void filterWalkables ()
void filterWater ()
void enterAllBulletCollisions (std::set< const BulletCollisionComponent * > *collisions)

Static Public Member Functions

static void setBulletTestObjectCollisionMask (short mask)
static short getBulletTestObjectCollisionMask ()

Detailed Description

Class for use during the voronoi grid creation. This implements the step of entering the obstacles into the grid by using the collisions available inside the bullet physics world. Subsequent raycast like collision tests are used to determine whether there is a collision at all. These are conducted at the resolution of the grid with objects of the size of a single grid cell.

Constructor & Destructor Documentation

qsf::ai::voronoi::ContactTestGridBlocker::ContactTestGridBlocker ( DistanceGrid grid,
const GridConfiguration gridConfig,
const HeightRestriction restriction,
Map map,
int  walkableLevel,
bool  testAtTerrainHeight,
short  avoidCollisionFilter,
short  requiredCollisionFilter 

Member Function Documentation

void qsf::ai::voronoi::ContactTestGridBlocker::addOuterBorderObstacle ( )
void qsf::ai::voronoi::ContactTestGridBlocker::enterAllBulletCollisions ( std::set< const BulletCollisionComponent * > *  collisions)
void qsf::ai::voronoi::ContactTestGridBlocker::filterWalkables ( )
void qsf::ai::voronoi::ContactTestGridBlocker::filterWater ( )
static short qsf::ai::voronoi::ContactTestGridBlocker::getBulletTestObjectCollisionMask ( )
static void qsf::ai::voronoi::ContactTestGridBlocker::setBulletTestObjectCollisionMask ( short  mask)

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