Menge Plugin Examples
A Collection of Example Plugins for the Menge Framework
|
The name space for the Formation Model. More...
Classes | |
class | FormationModifier |
A velocity modifier which adapts agent preferred velocities so that they move in formations. More... | |
class | FormationModifierFactory |
The factory class for the FormationModifier. More... | |
struct | FormationPoint |
The data structure representing a point in the formation. More... | |
class | FormationsTask |
Task responsible for updating agent data for maintaining a formation. More... | |
class | FreeFormation |
The class for modeling a freestyle formation. More... | |
Typedefs | |
typedef ResourcePtr < FreeFormation > | FormationPtr |
The definition of the managed pointer for formation data. | |
Functions | |
FormationPtr | loadFormation (const std::string &fileName) throw ( ResourceException ) |
load a formation More... | |
The name space for the Formation Model.
This formation model is based off of http://graphics.cs.uh.edu/wp-content/papers/2013/2011_CGA-crowd-formation-generation-preprint.pdf
We use input files which contain the formation coordinates to define a formation, and a task and velocity modifier to execute them.
FormationPtr Formations::loadFormation | ( | const std::string & | fileName | ) | |
throw | ( | ResourceException | |||
) |
load a formation
fileName | The name of the file containing the formation definition. |
A | ResourceException if the data is unable to be instantiated. |