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

Revision 1184, 1.6 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;
19class KdLeaf;
20
21struct IndexedBoundingBox;
22struct VisibilityPoint;
23
24
25/** Container storing polygons used during BSP tree construction.
26*/
27typedef vector<Polygon3 *> PolygonContainer;
28
29/** Container storing a bundle of rays.
30*/
31typedef vector<Ray *> RayContainer;
32
33/** Container for Mesh pointers primarily for the use within the kDTree and
34    BSP hierarchies */
35typedef vector<Intersectable *> ObjectContainer;
36
37/** Container for ViewCell pointers primarily for the use within the kDTree and
38    BSP hierarchies */
39
40typedef vector<ViewCell *> ViewCellContainer;
41
42/** Container for HierarchyNodes pointers primarily for the use within the kDTree and
43    BSP hierarchies
44        */
45typedef vector<HierarchyNode *> NodeContainer;
46
47typedef vector<SceneGraphNode *> SceneGraphNodeContainer;
48
49typedef vector<Mesh *> MeshContainer;
50
51/** Container storing visibility points, i.e. locations in space storing from point visibility
52        information.
53*/
54typedef vector<VisibilityPoint *> VisibilityPointsContainer;
55
56typedef vector<IndexedBoundingBox> IndexedBoundingBoxContainer;
57
58/** Container for ViewCell pointers primarily for the use within the kDTree and
59    BSP hierarchies */
60
61typedef vector<KdLeaf *> KdLeafContainer;
62
63
64typedef std::map<int, Intersectable *> ObjectMap;
65
66}
67
68#endif // _Container_H__
Note: See TracBrowser for help on using the repository browser.