Emergency 20 Dokumentation  4.2.0
qsf::ai::steering::ReservationCollisionAggregator Class Reference

#include <ReservationCollisionAggregator.h>

Public Member Functions

 ReservationCollisionAggregator (DynamicCollisionLocalPlanner *routerCollisionWorld, CollisionAggregator &aggregator, ReservationSystem &reservationSystem, const NavigationComponent &queryNavi, const glm::vec3 &currentQueryPos, const std::vector< SteeringControlPoint > &mControlPoints)
 
void processCollisions ()
 
void operator() (const Reservation &conflictingReservation)
 

Detailed Description

Provides functions to iterate over all relevant reservation system collisions and integrate them into a CollisionAggregator. It linearly extrapolates movement for a pair of objects in their respective movement directions and calculates whether these collide assuming they drive behind each other.

Constructor & Destructor Documentation

qsf::ai::steering::ReservationCollisionAggregator::ReservationCollisionAggregator ( DynamicCollisionLocalPlanner routerCollisionWorld,
CollisionAggregator aggregator,
ReservationSystem reservationSystem,
const NavigationComponent queryNavi,
const glm::vec3 &  currentQueryPos,
const std::vector< SteeringControlPoint > &  mControlPoints 
)

Member Function Documentation

void qsf::ai::steering::ReservationCollisionAggregator::operator() ( const Reservation conflictingReservation)
void qsf::ai::steering::ReservationCollisionAggregator::processCollisions ( )

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