Menge
Modular Pedestrian Simulation Framework for Research and Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
NavMeshLocalizer.h File Reference

Data structure responsible for knowing where on the navigation mesh each agent is located. More...

#include "NavMesh.h"
#include "NavMeshNode.h"
#include "mengeCommon.h"
#include "Resource.h"
#include "ReadersWriterLock.h"
#include <map>
#include <set>

Go to the source code of this file.

Classes

class  Menge::NavMeshLocation
 Class for indicating how the location of the agent is defined. Either by a portal path or a node. More...
 
class  Menge::NavMeshLocalizer
 Class responsible for tracking agent relatinoships to the navigation mesh: its current location and its path. More...
 

Namespaces

 Menge
 The core namespace. All elements of Menge are contained in this namespace.
 

Typedefs

typedef std::set< size_t > Menge::OccupantSet
 A collection of agent ids. It represents the population of each nav mesh node.
 
typedef OccupantSet::iterator Menge::OccupantSetItr
 Iterator for an OccupantSet.
 
typedef OccupantSet::const_iterator Menge::OccupantSetCItr
 Const iterator for an OccupantSet.
 

Functions

NavMeshLocalizerPtr Menge::loadNavMeshLocalizer (const std::string &fileName, bool usePlanner) throw ( ResourceException )
 Loads the navigation mesh of the given name. More...
 

Detailed Description

Data structure responsible for knowing where on the navigation mesh each agent is located.