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