Menge Plugin Examples
A Collection of Example Plugins for the Menge Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Typedefs | Functions
Formations Namespace Reference

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...
 

Detailed Description

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.

Function Documentation

FormationPtr Formations::loadFormation ( const std::string &  fileName)
throw (ResourceException
)

load a formation

Parameters
fileNameThe name of the file containing the formation definition.
Returns
The FormationPtr containing the data.
Exceptions
AResourceException if the data is unable to be instantiated.