Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Definition of obstacle set class which produces obstacles based on explicit definition in an XML file. More...
#include <NavMeshObstacleSet.h>
Public Member Functions | |
NavMeshObstacleSet () | |
Constructor. | |
bool | extractFromNavMesh (NavMeshPtr nm) |
Extract obstacles from a provided navigation_mesh. More... | |
Public Member Functions inherited from Menge::Agents::ListObstacleSet | |
ListObstacleSet () | |
Constructor. | |
virtual size_t | obstacleCount () |
Reports the number of obstacles in the set. More... | |
virtual Obstacle * | getObstacle (size_t i) |
Get the ith obstacle. More... | |
bool | addObstacle (Obstacle *o) |
Adds an obstacle to the generator. More... | |
bool | addObstacle (ObstacleVertexList o) |
Adds an obstacle to the generator from a list of vertices. More... | |
Public Member Functions inherited from Menge::Agents::ObstacleSet | |
ObstacleSet () | |
Default constructor. | |
virtual void | setClass (size_t cl) |
Sets the class of this obstacle set. More... | |
virtual size_t | getClass () |
Gets the class of this obstacle set. More... | |
Public Member Functions inherited from Menge::Element | |
void | destroy () |
This supplants the destructor. More... | |
virtual BFSM::Task * | getTask () |
Return an optional task associated with this element. More... | |
virtual SceneGraph::GLNode * | getSGNode () |
Returns an optional visualization element associated with the element. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Menge::Agents::ListObstacleSet | |
~ListObstacleSet () | |
Destructor. | |
Protected Member Functions inherited from Menge::Agents::ObstacleSet | |
virtual | ~ObstacleSet () |
Protected destructor. The destroy method should be used to delete an instance of an obstacle set. | |
Protected Attributes inherited from Menge::Agents::ListObstacleSet | |
std::vector< Obstacle * > | _obstacles |
The obstacles in an internal list. | |
Protected Attributes inherited from Menge::Agents::ObstacleSet | |
size_t | _class |
The class for the obstacles in this set. More... | |
Definition of obstacle set class which produces obstacles based on explicit definition in an XML file.
bool Menge::Agents::NavMeshObstacleSet::extractFromNavMesh | ( | NavMeshPtr | nm | ) |
Extract obstacles from a provided navigation_mesh.
nm | The navigation mesh from which to extract obstacles |