Menge
Modular Pedestrian Simulation Framework for Research and Development
|
Defintion of elevation class representing flat ground. More...
#include <ElevationFlat.h>
Public Member Functions | |
float | getElevation (const Vector2 &point) const |
Reports the elevation of the simulation domain at the given point. The domain may have more than one valid elevation for the point. It is the responsibility of the elevation entity resolve this. More... | |
float | getElevation (const BaseAgent *agent) const |
Reports the elevation of the simulation domain for the given agent. More... | |
virtual Vector2 | getGradient (const Vector2 &point) const |
Reports the gradient of the simulation domain at the given point. The domain may have more than one valid gradient for the point. It is the responsibility of the elevation entity resolve this. More... | |
Vector2 | getGradient (const BaseAgent *agent) const |
Reports the gradient of the simulation domain for the given agent. 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::Elevation | |
virtual | ~Elevation () |
Virtual destructor. | |
Defintion of elevation class representing flat ground.
|
virtual |
Reports the elevation of the simulation domain at the given point. The domain may have more than one valid elevation for the point. It is the responsibility of the elevation entity resolve this.
point | A point on the x-z cartesian plane. |
Implements Menge::Agents::Elevation.
|
virtual |
Reports the elevation of the simulation domain for the given agent.
agent | A pointer to the agent for which elevation should be reported. |
Implements Menge::Agents::Elevation.
Reports the gradient of the simulation domain at the given point. The domain may have more than one valid gradient for the point. It is the responsibility of the elevation entity resolve this.
point | A point on the x-z cartesian plane. |
Implements Menge::Agents::Elevation.
Reports the gradient of the simulation domain for the given agent.
agent | A pointer to the agent for which gradient should be reported. |
Implements Menge::Agents::Elevation.