pfp.h 955 Bytes
Newer Older
David Cazier's avatar
David Cazier committed
1
2
3
4
5
6
#ifndef PFP_H_
#define PFP_H_

struct PFP : public PFP_STANDARD
{
	// definition de la carte
7
	typedef Algo::Surface::IHM::ImplicitHierarchicalMap MAP ;
David Cazier's avatar
David Cazier committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

	// definition des listes d'agent
	typedef std::vector<Agent*> AGENTS ;
	typedef std::vector<Obstacle*> OBSTACLES ;

	typedef std::vector<MovingObstacle*> MOVINGOBSTACLES;

	typedef NoMathIONameAttribute<AGENTS> AGENTVECT ;
	typedef NoMathIONameAttribute<OBSTACLES> OBSTACLEVECT ;

	typedef NoMathIONameAttribute<MOVINGOBSTACLES> MOVINGOBSTACLEVECT;

	typedef VertexAttribute<PFP::VEC3> TVEC3;
	typedef FaceAttribute<AGENTVECT> TAB_AGENTVECT ;
	typedef FaceAttribute<OBSTACLEVECT> TAB_OBSTACLEVECT ;

	typedef NoMathIONameAttribute<std::pair<bool, bool> > BOOLATTRIB ;
} ;

Thomas Jund's avatar
Thomas Jund committed
27
28
29
struct PFP2 : public PFP_STANDARD
{
	// definition de la carte
Thomas Jund's avatar
merge    
Thomas Jund committed
30
31
	typedef EmbeddedMap2 MAP ;
//	typedef Algo::Surface::IHM::ImplicitHierarchicalMap MAP ;
Thomas Jund's avatar
Thomas Jund committed
32
33
} ;

David Cazier's avatar
David Cazier committed
34
35
36
37
typedef PFP::VEC3 VEC3 ;
typedef PFP::REAL REAL ;

#endif /* PFP_H_ */