Menge Plugin Examples
A Collection of Example Plugins for the Menge Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
VisGCF.h
Go to the documentation of this file.
1 
6 #ifndef __VIS_GCF_H__
7 #define __VIS_GCF_H__
8 
9 #include "SimSystem.h"
10 #include "VisAgent.h"
11 #include "GCF.h"
12 
13 namespace Menge {
14  namespace Agents {
15  class BaseAgent;
16  }
17 }
18 
19 using namespace Menge;
20 
21 namespace GCF {
22  // forward declarations
23  class Agent;
24 
28  class GCFVisAgent : public ::VisAgent {
29  public:
35  GCFVisAgent( Agents::BaseAgent * agent ): ::VisAgent(agent) {}
36 
43  virtual void drawGL( bool select=false );
44 
45  };
46 
50  class GCFSimSystem : public ::SimSystem {
51  public:
60  GCFSimSystem( bool visualize, float duration ): ::SimSystem(visualize, duration) {}
61 
67  virtual void addAgentsToScene( SceneGraph::GLScene * scene );
68 
69  };
70 
71 } // namespace GCF
72 
74 // Implementation of GCF-specific VisAgent
76 
77 
78 #endif // __VIS_GCF_H__
Contains the specification of the generalized centrifugal force pedestrian model. ...
Definition: Ellipse.cpp:9
GCFVisAgent(Agents::BaseAgent *agent)
Constructor.
Definition: VisGCF.h:35
The definition of the GCF pedestrian plug-in.
The SimSystem that uses the GCF agent.
Definition: VisGCF.h:50
The visualization agent for GCF.
Definition: VisGCF.h:28
GCFSimSystem(bool visualize, float duration)
Constructor with duration limit.
Definition: VisGCF.h:60