source: GTP/trunk/Lib/Vis/Preprocessing/src/Containers.h @ 1072

Revision 1072, 1.4 KB checked in by mattausch, 18 years ago (diff)
Line 
1#ifndef _Container_H__
2#define _Container_H__
3
4#include <vector>
5#include <queue>
6#include <map>
7
8using namespace std;
9
10namespace GtpVisibilityPreprocessor {
11
12class ViewCell;
13class HierarchyNode;
14class SceneGraphNode;
15class Intersectable;
16class Polygon3;
17class Ray;
18class Mesh;
19
20struct IndexedBoundingBox;
21struct VisibilityPoint;
22
23
24/** Container storing polygons used during BSP tree construction.
25*/
26typedef vector<Polygon3 *> PolygonContainer;
27
28/** Container storing a bundle of rays.
29*/
30typedef vector<Ray *> RayContainer;
31
32/** Container for Mesh pointers primarily for the use within the kDTree and
33    BSP hierarchies */
34typedef vector<Intersectable *> ObjectContainer;
35
36/** Container for ViewCell pointers primarily for the use within the kDTree and
37    BSP hierarchies */
38
39typedef vector<ViewCell *> ViewCellContainer;
40
41/** Container for HierarchyNodes pointers primarily for the use within the kDTree and
42    BSP hierarchies
43        */
44typedef vector<HierarchyNode *> NodeContainer;
45
46typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
47
48typedef vector<Mesh *> MeshContainer;
49
50/** Container storing visibility points, i.e. locations in space storing from point visibility
51        information.
52*/
53typedef vector<VisibilityPoint *> VisibilityPointsContainer;
54
55typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
56
57typedef std::map<int, Intersectable *> ObjectMap;
58
59}
60
61#endif // _Container_H__
Note: See TracBrowser for help on using the repository browser.